Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today
2406Rank
4Badges
185Score

Praveen Suvarna received Quiz Master badge for Solution 329359

on 5 Oct 2013

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