Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3];
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
y =
1
|
2 | Pass |
x = [2 2 3];
y_correct = 2;
assert(isequal(your_fcn_name(x),y_correct))
y =
2
|
Flip the main diagonal of a matrix
506 Solvers
248 Solvers
340 Solvers
219 Solvers
492 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!