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
2184 Solvers
Is my wife right? Now with even more wrong husband
1242 Solvers
Flip the main diagonal of a matrix
506 Solvers
Create a vector whose elements depend on the previous element
392 Solvers
158 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!