Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = 1;
b =3;
y_correct = [1 10 100];
assert(isequal(your_fcn_name(a,b),y_correct))
|
2 | Pass |
%%
a = 5;
b =1;
y_correct = [5];
assert(isequal(your_fcn_name(a,b),y_correct))
|
3 | Pass |
%%
a = 7;
b =6;
y_correct = [7 70 700 7000 70000 700000]
assert(isequal(your_fcn_name(a,b),y_correct))
y_correct =
7 70 700 7000 70000 700000
|
894 Solvers
Back to basics 13 - Input variables
233 Solvers
Getting the indices from a vector
3206 Solvers
387 Solvers
Sum of diagonals elements of a matrix
166 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!