Hi Petr:
Keep in mind that your test suite isn't hidden in Cody. For that reason, Cody isn't the best place to ask questions that have a single correct answer (i.e. the answer doesn't change depending on novel inputs).
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
Find all elements less than 0 or greater than 10 and replace them with NaN
13135 Solvers
3923 Solvers
The Hitchhiker's Guide to MATLAB
2880 Solvers
221 Solvers
725 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!