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

New to MATLAB?

Solution 65933

Submitted on 26 Mar 2012

Failed to evaluate.

Leading solution size is 10.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

L 1 (C 14): Parse error at '2': usage might be invalid MATLAB syntax. L 1 (C 15): Invalid character(s). L 3 (C 1-3): Parse error at END: usage might be invalid MATLAB syntax.