Your test suite is not appropriate!!!!
I fixed the test and added a few tests.
4335 Solvers
1425 Solvers
Change the sign of even index entries of the reversed vector
297 Solvers
249 Solvers
218 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!