Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 0
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
0
|
2 | Pass |
x =7 ;
y_correct = 42;
assert(isequal(your_fcn_name(x),y_correct))
|
3 | Pass |
x = 15;
y_correct = 210
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
210
|
4 | Pass |
x = 33;
y_correct = 1056
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
1056
|
5 | Pass |
x = 125;
y_correct = 15500
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
15500
|
Reverse the elements of an array
687 Solvers
Create an index-powered vector
352 Solvers
292 Solvers
Create sequnce 1 4 9 16 25.........
190 Solvers
Basic commands - amount of inputs
134 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!