Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [2 4; 6 12];
y_correct = 6;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = [2 4; 6 8]
y_correct = 5;
assert(isequal(your_fcn_name(x),y_correct))
x =
2 4
6 8
|
Flip the main diagonal of a matrix
506 Solvers
546 Solvers
292 Solvers
Matlab Basics - Set unwanted parts of a vector to zero
197 Solvers
154 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!