Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [10 100 1000];
y_correct = [1.30 2.61 3.91];
assert(isequal(logarithms(x),y_correct))
|
2 | Pass |
%%
x = [50 1.2 4567; 200 67 820];;
y_correct = [2.21 0.10 4.77; 3 2.38 3.8];
assert(isequal(logarithms(x),y_correct))
|
3 | Pass |
%%
x = [0.5 1.2 4.5; 23 33 3.3];
y_correct = [-0.39 0.1 0.85; 1.77 1.98 0.68];
assert(isequal(logarithms(x),y_correct))
|
Flip the main diagonal of a matrix
506 Solvers
Convert from Base 10 to base 5
203 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
Reverse the elements of an array
687 Solvers
Check that number is whole number
1070 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!