Cody

Matt Raum

9345
Rank
2
Badges
160
Score
1 – 25 of 25

Matt Raum submitted Solution 307249 to Problem 167. Pizza!

on 20 Aug 2013

Matt Raum submitted Solution 307246 to Problem 167. Pizza!

on 20 Aug 2013

Matt Raum submitted Solution 307239 to Problem 167. Pizza!

on 20 Aug 2013

Matt Raum submitted Solution 307236 to Problem 167. Pizza!

on 20 Aug 2013

Matt Raum submitted a Comment to Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN

Can someone explain this to me? cleanUp=@(lb,x)interp1([lb 10],[lb 10],x);x=[5 17 -20 99 3.4 2 8 -6];y_correct=[5 NaN NaN NaN 3.4 2 8 NaN]; [isequalwithequalnans(cleanUp(1,x),y_correct),isequalwithequalnans(cleanUp(0,x),y_correct)] That is, if i set the lower bound (lb) of the interpolation to 1 it passes the test code but if I set it to zero it fails with the same output!?!

on 20 Aug 2013

Matt Raum received Solver badge for Solution 307079

on 19 Aug 2013

1 – 25 of 25