Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 35431;
y_correct = 256;
assert(isequal(sq_sum(x),y_correct))
y =
256
|
2 | Pass |
%%
x = -431;
y_correct = 64;
assert(isequal(sq_sum(x),y_correct))
y =
64
|
Convert a vector into a number
503 Solvers
277 Solvers
302 Solvers
141 Solvers
Create an anti-identity matrix
153 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!