Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

hanciong received Commenter badge for Solution 242508

on 10 May 2013

hanciong submitted a Comment to Solution 242508

how to make the code even shorter than this???

on 10 May 2013

hanciong received Solver badge for Solution 242468

on 10 May 2013