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
|
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
Convert a numerical matrix into a cell array of strings
453 Solvers
Compute a dot product of two vectors x and y
750 Solvers
232 Solvers
07 - Common functions and indexing 2
316 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!