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
42Rank
10Badges
5125Score

J-G van der Toorn submitted a Comment to Solution 406514

Since Cody, I dislike for-loops, but your solution is way simpler than my own algorithm. Mission accomplished... Nevertheless, I would hope for a non-looped piece of code. Let's see in phase 3.

on 20 Feb 2014