Your test suite is too easily defeated. You should replace it with: isequaln(vec_cons(), y_correct)
Test suite needs to be updated.
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
Remove any row in which a NaN appears
6831 Solvers
3119 Solvers
614 Solvers
284 Solvers
453 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!