This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x_correct = [1 2 3 4 5 6 7 8 9 10];
assert(isequal(oneToTen,x_correct))
|
436 Solvers
Sum the numbers on the main diagonal
375 Solvers
369 Solvers
198 Solvers
303 Solvers