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
566 Solvers
6980 Solvers
630 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
282 Solvers
07 - Common functions and indexing 6
364 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!