Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = magic(5);
y_correct =[ 0 24 0 8 0
0 0 0 14 16
4 6 0 20 22
10 12 0 0 0
0 18 0 2 0]
assert(isequal(your_fcn_name(x),y_correct))
y_correct =
0 24 0 8 0
0 0 0 14 16
4 6 0 20 22
10 12 0 0 0
0 18 0 2 0
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
29395 Solvers
Put Two 1D matrices into one 1D matrix
91 Solvers
313 Solvers
Find the area of a rectangle if length of the diagonal is given.
95 Solvers
133 Solvers