Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 2;
y_correct = [ ...
0 0
0 0 ];
assert(isequal(matrix_zeros(x),y_correct))
|
2 | Pass |
x = 6;
y_correct = [ ...
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0];
assert(isequal(matrix_zeros(x),y_correct))
|
3 | Pass |
x = 1;
y_correct = 0;
assert(isequal(matrix_zeros(x),y_correct))
|
Increment a number, given its digits
562 Solvers
516 Solvers
Back to basics 25 - Valid variable names
293 Solvers
Find nearest prime number less than input number
268 Solvers
420 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!