已解决


Find Euclidean norm of given vector u.
Find Euclidean norm of given vector u. https://en.wikipedia.org/wiki/Euclidean_distance Example x=[1 1] result=sqrt(1^2+1^2...

1 year 前

已解决


Double the length of the vector

1 year 前

已解决


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

1 year 前

已解决


Matlab Basics - Assigning Variables
Assign different types of data to variables: integer, double, and strings Example: A is a double, for example 2.34 B is a...

1 year 前

已解决


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

1 year 前

已解决


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

1 year 前

已解决


Matrix Max Finder
Output the maximum value in a matrix

1 year 前

已解决


determine if
determine if the elements of a matrix is a nan and return true

1 year 前

已解决


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

1 year 前

已解决


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

1 year 前

已解决


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

1 year 前

已解决


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

1 year 前

已解决


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

1 year 前

已解决


Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

1 year 前

已解决


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

1 year 前

已解决


05 - Vector Equations 1
Define the vector _cVec_: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of -0....

1 year 前

已解决


Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

1 year 前

已解决


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

1 year 前

已解决


Radians to Degrees
Convert radians to degrees.

1 year 前

已解决


Multiply pi
Multiply pi with x!

1 year 前

已解决


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

1 year 前

已解决


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

1 year 前

已解决


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

1 year 前

已解决


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

1 year 前

已解决


Create vector as shown in test cases
Create vector as shown in test cases

1 year 前

已解决


calculate Compound Intrest
Calculate Compound Intrest for given data

1 year 前

已解决


find whether it is prime or not
For a given number find if its prime

1 year 前

已解决


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

1 year 前

已解决


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

1 year 前

已解决


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

1 year 前

加载更多