Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = magic(6);
y_correct = [8 28 33 17 10 15;30 5 34 12 14 16;4 36 29 13 18 11]
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
8 28 33 17 10 15
30 5 34 12 14 16
4 36 29 13 18 11
ans =
8 28 33 17 10 15
30 5 34 12 14 16
4 36 29 13 18 11
|
951 Solvers
234 Solvers
Arrange Vector in descending order
4073 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
546 Solvers
414 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!