1397Rank
3Badges
165Score

Praveen Suvarna submitted a Comment to Problem 1048. Detect a number and replace with two NaN's

Dear all, You can make use of 'isnan' Try. It can be solved...

on 22 Nov 2012

Praveen Suvarna received Commenter badge for Solution 166158

on 21 Nov 2012

Praveen Suvarna submitted a Comment to Solution 166158

function y = cleanUp(x) x=[5 17 -20 99 3.4 2 8 -6] for i=1:8 if (x(i)<0||x(i)>10) y(i)=NaN; else y(i)=x(i); end end Can anybody tell what is wrong with this code so that it is not clearing test 2.

on 21 Nov 2012

Praveen Suvarna received Solver badge for Solution 164151

on 19 Nov 2012