Your test suite is not appropriate!!!!
I fixed the test and added a few tests.
317 Solvers
Create a vector whose elements depend on the previous element
391 Solvers
272 Solvers
5465 Solvers
414 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!