Test 4 is wrong; y_correct should be [1; 2; 4]
I´m afraid all tests are correct. But thanks anyway!
12510 Solvers
357 Solvers
Change the sign of even index entries of the reversed vector
304 Solvers
672 Solvers
125 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!