Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1 2 3 4 5 6 7 8];
A_correct = [8 7 6 5 4 3 2 1];
assert(isequal(flip_the_vector(x),A_correct));
|
2 | Pass |
%%
x = [5 6 78];
A_correct = [78 6 5];
assert(isequal(flip_the_vector(x),A_correct));
|
3 | Pass |
%%
x = -2;
A_correct = -2;
assert(isequal(flip_the_vector(x),A_correct));
|
Extract leading non-zero digit
967 Solvers
Matrix which contains the values of an other matrix A at the given locations.
196 Solvers
Try 1.5.4: Celsius to Fahrenheit
486 Solvers
Returning a "greater than" vector
150 Solvers
Find out sum of all elements of given Matrix
272 Solvers