Gelöst


Basic commands - Which licence do you use?
Please ask Matlab which license do you have on computer. Interesting fact: Pay attention what number of license has Cody. ...

fast 10 Jahre vor

Gelöst


Basic commands - search path
Please list all search path from Matlab.

fast 10 Jahre vor

Gelöst


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

fast 10 Jahre vor

Gelöst


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

fast 10 Jahre vor

Gelöst


how to find size of a matrix?
how to find size of a matrix?

fast 10 Jahre vor

Gelöst


Create cosine function out of sine
Please dont use cos(x) directly

fast 10 Jahre vor

Gelöst


Create sine function out of cosine
Please don't use sin(x) directly

fast 10 Jahre vor

Gelöst


Adding machine
Add number to all elements in given vector.

fast 10 Jahre vor

Gelöst


isnan()
Replace all nans with zeros

fast 10 Jahre vor

Gelöst


Explode string
Convert a sentense into a cell of strings (i.e. use space as delimiter).

fast 10 Jahre vor

Gelöst


Solution to Ax=b with singular A
Find solution to Ax=b problem if A is singular. Hint: Compute a minimum norm solution

fast 10 Jahre vor

Gelöst


Number of nonzero elements in matrix
Calculate the number of nonzero elements for given matrix

fast 10 Jahre vor

Gelöst


Number of elements in matrix
Calculate the # of elements for given matrix

fast 10 Jahre vor

Gelöst


Create tangent function out of sin and cos
Please don't use tan(x) directly

fast 10 Jahre vor

Gelöst


Create tangent function out of sine function only
Please don't use cosine and tangent functions

fast 10 Jahre vor

Gelöst


Convert degrees to radians
Given input in degrees, output to radians

fast 10 Jahre vor

Gelöst


Convert radians to degrees
Given input in radians, output to degrees

fast 10 Jahre vor

Gelöst


Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; 2 3; 4 5;] ou...

fast 10 Jahre vor

Gelöst


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

fast 10 Jahre vor

Gelöst


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

fast 10 Jahre vor

Gelöst


Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

fast 10 Jahre vor

Gelöst


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 x1 = 123444...

fast 10 Jahre vor

Gelöst


Ceil Me Now
Get the ceiling of the input matrix

fast 10 Jahre vor

Gelöst


Calculate RMSE
RMSE(Root Mean Square Error) is widely used to calculate error. Calculate RMSE between [a] and [b] a=[1 2 3 4] b=[0 1 2 ...

fast 10 Jahre vor

Gelöst


Set number x for diagonal of square matrix, which size is n.
Set number x for diagonal of square matrix, other values should be equlal 0, which size is n. Example n=2, x=4: [4 0; 0 4]

fast 10 Jahre vor

Gelöst


Basic commands - Left division matrix
Please write a function which will left division of A,B Pay attention this is right division: A/B

fast 10 Jahre vor

Gelöst


Basic commands - logarithmically spaced vector
Make a function, which will give a vector: y=[ 0.01 0.1 1 10 ... 10^x];

fast 10 Jahre vor

Gelöst


Basic commands - Excuse me, what time is it?
Please write a function, which will return current hours and minutes, please notice we are using 24h time. Return a vector li...

fast 10 Jahre vor

Gelöst


How to Concatenate two strings?
How to Concatenate two strings?

fast 10 Jahre vor

Gelöst


Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

fast 10 Jahre vor

Mehr laden