Risolto


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...

quasi 2 anni fa

Risolto


Double the length of the vector

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


Matrix Max Finder
Output the maximum value in a matrix

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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).

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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 ; ...

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


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....

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


Radians to Degrees
Convert radians to degrees.

quasi 2 anni fa

Risolto


Multiply pi
Multiply pi with x!

quasi 2 anni fa

Risolto


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 ...

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


calculate Compound Intrest
Calculate Compound Intrest for given data

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Carica altro