Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = rand(4);
y_correct = [0 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0]
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
s =
4 4
y =
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
|
2 | Pass |
x = [1 5 7 6; 3 6 8 9; 5 6 7 8]
y_correct = [0 0 0 0;0 0 0 0;0 0 0 0]
assert(isequal(your_fcn_name(x),y_correct))
x =
1 5 7 6
3 6 8 9
5 6 7 8
y_correct =
0 0 0 0
0 0 0 0
0 0 0 0
s =
3 4
y =
0 0 0 0
0 0 0 0
0 0 0 0
|
613 Solvers
Return unique values without sorting
588 Solvers
Determine Whether an array is empty
646 Solvers
Matlab Basics II - Max & Index of Max
188 Solvers
1223 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!