Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = [ ...
1 2 0 0 0
0 0 5 0 0
2 7 0 0 0
0 6 9 3 3];
r_correct = 4;
assert(isequal(fullest_row(a),r_correct))
ans =
4
|
2 | Pass |
%%
a = [ ...
1 2 0 0
0 0 5 0
0 6 9 -3
2 7 0 0
0 0 0 0];
r_correct = 3;
assert(isequal(fullest_row(a),r_correct))
ans =
3
|
3 | Pass |
%%
a = [ ...
1 0 0
0 0 0
0 0 0
0 0 0
0 2 3];
r_correct = 5;
assert(isequal(fullest_row(a),r_correct))
ans =
5
|
4 | Pass |
%%
a = [ ...
0
0
0
-3
0
0];
r_correct = 4;
assert(isequal(fullest_row(a),r_correct))
ans =
4
|
Back to basics 9 - Indexed References
392 Solvers
Getting the indices from a vector
3207 Solvers
641 Solvers
5463 Solvers
find the surface area of a cube
336 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!