Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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)

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Enviada


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

casi 10 años hace | 2 descargas |

0.0 / 5
Thumbnail

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Cargar más