Even though this problem is simple, it would be helpful to expand the test suite to prevent gaming the system.
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
594 Solvers
232 Solvers
Duplicate each element of a vector.
518 Solvers
Convert given decimal number to binary number.
640 Solvers
137 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!