Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

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

mehr als 9 Jahre vor

Gelöst


double
Return twice the value of the number

mehr als 9 Jahre vor

Gelöst


list folder contents
list the contents of a folder

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


square root
find square root of a number

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Add 2
Add 2 to the input x

mehr als 9 Jahre vor

Beantwortet
Assigning dynamic variable in wokspace?
Make sure that old_data is defined before using this commend. Also, old should be 1*1 matrix size. Scale. old=1; old_data...

mehr als 9 Jahre vor | 0

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

mehr als 9 Jahre vor

Gelöst


Sort matrix a according to ascending order of B!
To be specific, A=[9 3 1 3] B=[1 3 2 4] are provided, ascending sorting of B is [B(1) B(3) B(2) B(4)]. Thus ...

mehr als 9 Jahre vor

Gelöst


Extract a part of matrix!
There is matrix A A=[1 2 3; 4 5 6; 7 8 9] Extract a part of matrix A from (2,2) to (3,3). Result should...

mehr als 9 Jahre vor

Gelöst


Delete useless part of data
When someone deals with big data. if the person delete useless part, calculation will be more faster than before deleting. De...

mehr als 9 Jahre vor

Gelöst


Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

mehr als 9 Jahre vor

Gelöst


Make 3d matrix from other matrix
A=[1 1;2 2]; B=[2 2;3 3]; C=[0 0;1 3]; Using given three matrix, make 3 dimensional matrix [D] by stacking.

mehr als 9 Jahre vor

Gelöst


Make equation that can express relationship!
Observed data [y] that vary with [x]. Unfortunately, [y] including small amount of errors. x=[1 2 3 4 5 6] y=[2.16 4.97 ...

mehr als 9 Jahre vor

Gelöst


How to permute given 3d matrix?
A(:,:,1)=[1 3] A(:,:,2)=[2 2] A(:,:,3)=[4 3] Change rows to columns and columns to rows, similar to transpose. Resul...

mehr als 9 Jahre vor

Mehr laden