How can a solution submitted with size 0? I am confused...
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4 5 6 7 8 9 10];
assert(isequal(length(x),10))
|
2 | Pass |
x = [1 2 3 4 5 6 7 8 9 10];
assert(isequal(diff(x),ones(1,9)))
|
1261 Solvers
3892 Solvers
651 Solvers
Flip the main diagonal of a matrix
506 Solvers
2980 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!