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
Return the largest number that is adjacent to a zero
3822 Solvers
Back to basics 21 - Matrix replicating
1067 Solvers
Check if number exists in vector
5020 Solvers
Element by element multiplication of two vectors
274 Solvers
229 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!