Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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)

10 years ago

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


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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.

10 years ago

Solved


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

10 years ago

Solved


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.

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Submitted


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

10 years ago | 339 downloads |

0.0 / 5
Thumbnail

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Load more