Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 35431;
y_correct = 256;
assert(isequal(sq_sum(x),y_correct))
ans =
256
|
2 | Pass |
x = -431;
y_correct = 64;
assert(isequal(sq_sum(x),y_correct))
ans =
64
|
386 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
413 Solvers
420 Solvers
289 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!