Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4;5 6 7 8];
B_correct = [1 2 3 4 1 2 3 4;5 6 7 8 5 6 7 8;1 2 3 4 1 2 3 4;5 6 7 8 5 6 7 8];
assert(isequal(your_fcn_name(x),B_correct))
|
Find the sum of the elements in the "second" diagonal
994 Solvers
177 Solvers
215 Solvers
241 Solvers
307 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!