Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Adding machine
Add number to all elements in given vector.

10 years ago

Solved


isnan()
Replace all nans with zeros

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Ceil Me Now
Get the ceiling of the input matrix

10 years ago

Solved


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

10 years ago

Solved


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]

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Load more