Please change test case. It is giving error.
y_correct=[13 10 7 4];
The brackets and the first test case has no function call.
I fixed the tests.
Swap the first and last columns
12429 Solvers
9845 Solvers
373 Solvers
Sum the 'edge' values of a matrix
232 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!