已解决


Odd times even numbers in a matrix
First count the number of odd numbers in x, then the number of even. Return their product. example: x = [1 2] One odd ...

8 years 前

已解决


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

8 years 前

已解决


Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7

8 years 前

已解决


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

8 years 前

已解决


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

8 years 前

已解决


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

8 years 前

已解决


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

8 years 前

已解决


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

8 years 前

已解决


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

8 years 前

已解决


Basic commands - Where did I install Matlab?
Please make a function, which returns path to Matlab installation folder

8 years 前

已解决


Basic commands - Which matlab files are here?
Please make a function which will list all specific for Matlab files in current folder.

8 years 前

已解决


Find x in provided equation!
x^2-2*x+1=0 What is x? (hint: use "roots")

8 years 前

已解决


Basic commands - What platform are you using?
Please ask matlab waht platform are you using.

8 years 前

已解决


Solve system of equation!
Solve provided system of equation, and find x and y. 2*x+1*y=3 1*x+1*y=2 (hint: use inverse matrix)

8 years 前

已解决


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

8 years 前

已解决


Interpolate data!
There are two data that observed at two different location. x indicate position, d indicate value of data. x=[1 10] d=[2 ...

8 years 前

已解决


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0.

8 years 前

已解决


Translate German decimals to English decimals
The string 'x = [2,5; 5,5; 4,3];' should return 'y = [2.5; 5.5; 4.3];'

8 years 前

已解决


Calculate this one!
Using matlab calculate y y=(e^2)+100/20+sin(pi)

8 years 前

已解决


cody exploit
I made this one to bring attention to a cody exploit that a lot of people seem to be abusing.

8 years 前

已解决


Make this function tell you to go to bed.
Don't change the template. Just run it at a time at which it tells you to go to bed.

8 years 前

已解决


Extrack values in 2-dimensional data
There are data c at (x,y) x=1:10;y=1:10; [x,y]=meshgrid(x,y) c=exp(sqrt(x.^2+y.^2)) Estinate data c at (x=5.4,y=7....

8 years 前

已解决


Calculate z=x^2+y^2
There are z in (x,y). x=1:10;y=1:10 [x y]=meshgrid(x,y) Calculate x^2+y^2.

8 years 前

已解决


Linear Least Squares (L2 fitting problem )
Given a set of real measurements (x(i), y(i)) find a line sol(1)x + sol(2) (more specifically furnish the vector with...

8 years 前

已解决


Marvel or DC?
Given input vector determine if there's a DC value. If there is, output 'DC', else output 'MARVEL'

8 years 前

已解决


I told you not separate me, but you did :( - ACDC
Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

8 years 前

已提交


CIC decimtor filter design and CIC compensation filter design
Design a CIC filter that decimation factor is 14, and design a CIC compensation filter

8 years 前 | 6 次下载 |

Thumbnail

已解决


Calculate polynomial equation
Calculate this equation using given x 1+x+x^2+x^3+....x^99 (hint: use polyval)

8 years 前

已解决


Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...

8 years 前

已解决


Basic commands - How old is your matlab version?
Please make a function, which gives amount of days since release it's version.

8 years 前

加载更多