The test suite should include a two element input also, for the sake of completion!
Why are several y_correct vectors not column vector as required by the problem?
The leading solution without the regexp hack: 19.
Increment a number, given its digits
563 Solvers
Back to basics 9 - Indexed References
396 Solvers
Matrix indexing with two vectors of indices
491 Solvers
540 Solvers
250 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!