Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 1;
y_correct = 1;
assert(isequal(sc(n),y_correct))
ans =
[]
|
2 | Pass |
n = 5;
y_correct = 1225;
assert(isequal(sc(n),y_correct))
ans =
[]
|
3 | Pass |
n = 10;
y_correct = 19900;
assert(isequal(sc(n),y_correct))
ans =
[]
|
Who has power to do everything in this world?
318 Solvers
616 Solvers
Create a square matrix of zeros of even order
108 Solvers
136 Solvers
Matrix of almost all zeros, except for main diagonal
152 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!