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))
y =
1
y =
1 10
y =
1 10 100
|
2 | Pass |
a = 5;
b =1;
y_correct = [5];
assert(isequal(your_fcn_name(a,b),y_correct))
y =
5
|
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
y =
7
y =
7 70
y =
7 70 700
y =
7 70 700 7000
y =
7 70 700 7000 70000
y =
7 70 700 7000 70000 700000
|
Determine Whether an array is empty
561 Solvers
Remove white space from the string
143 Solvers
324 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
231 Solvers
250 Solvers