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
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
y =
0 0 0 0
0 0 0 0
0 0 0 0
|
Find the largest value in the 3D matrix
1056 Solvers
2545 Solvers
167 Solvers
121 Solvers
429 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!