Community Profile

photo

CXD


TJU

Last seen: 1日 前 2022 以来アクティブ

sqrt6661661161

Spoken Languages:
English
Professional Interests:
Mathematics and Optimization

Statistics

  • Matrix Manipulation II Master
  • Indexing II Master
  • Magic Numbers Master
  • Matrix Patterns III Master
  • Magic Numbers II Master
  • Draw Letters
  • Puzzler
  • Indexing I Master
  • Project Euler I
  • Scholar
  • CUP Challenge Master
  • Introduction to MATLAB Master

バッジを表示

Content Feed

表示方法

解決済み


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

13日 前

解決済み


04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...

13日 前

解決済み


Matlab Basics II - Log and natural log
Write a function that calculates the difference between the log and natural log of a vector, to two decimal places example: ...

13日 前

解決済み


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

13日 前

解決済み


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

13日 前

解決済み


Perimeter
Given a sequence of points forming a closed path (first and last points are coincident) return the perimeter value. For example...

16日 前

解決済み


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

16日 前

解決済み


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

16日 前

解決済み


Product of Array
Given an array of numbers. Get the product of the array.

21日 前

解決済み


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

21日 前

解決済み


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

21日 前

解決済み


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

21日 前

解決済み


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

21日 前

解決済み


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

21日 前

解決済み


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

21日 前

解決済み


Negative Infinity
Round the given array a towards negative infinity.

21日 前

解決済み


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

21日 前

解決済み


Set defaults
Write a function that computes the volume of a cube. The function should be able to accept three inputs: the length, width, and...

21日 前

解決済み


Change the sign
Given a matrix x, return one with each diagonal element replaced by its absolute value and the largest element in absolute value...

21日 前

解決済み


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

21日 前

解決済み


create a circulant matrix
create a circulant matrix

21日 前

解決済み


Looking for Squares
Need n squares that equal one square all together, none zero, none fractured. For example, calling squares(2) should output [16...

21日 前

解決済み


commutative?
Given the handle to a binary function that takes two ordinary numbers, test if the function is commutative.

22日 前

解決済み


N-Cards Problem
You have a deck of _N_ cards numbered in order from 1 to _N_. You discard the top card (card 1) and place the next card (card 2)...

22日 前

解決済み


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

22日 前

解決済み


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

22日 前

解決済み


y equals x divided by 2
function y = x/2

22日 前

解決済み


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

22日 前

解決済み


Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

22日 前

解決済み


Generate a string like abbcccddddeeeee
This is the string version of Problem 1035. <http://www.mathworks.com/matlabcentral/cody/problems/1035-generate-a-vector-like-1-...

22日 前

もっと読み込む