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
Back to basics 6 - Column Vector
914 Solvers
712 Solvers
Generate a string like abbcccddddeeeee
238 Solvers
291 Solvers
Replace every 3rd element in a vector with 4
173 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!