Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [6 2 3 5];
y_correct = 8;
assert(isequal(your_fcn_name(x),y_correct))
ans =
8
|
2183 Solvers
1263 Solvers
Sum the numbers on the main diagonal
453 Solvers
549 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!