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?

1130Rank
3Badges
420Score

Andrew Small submitted a Comment to Solution 472861

The test suite expects the function's name to be 'your_fcn_name', instead of distanceWalked. (Which would have been a much more sensible name.)

on 17 Mar 2015

Andrew Small submitted Solution 459438 to Problem 167. Pizza!

on 20 Jun 2014

Andrew Small submitted Solution 459371 to Problem 167. Pizza!

on 20 Jun 2014

Andrew Small received Promoter badge for Problem 167. Pizza!

on 20 Jun 2014

Andrew Small liked Problem 167. Pizza!

on 20 Jun 2014

Andrew Small submitted a Comment to Solution 254762

The output is twice the required size - the repmat function repeats the given matrix n times. So repmat(eye(2),1) gives [1 0;0 1], not [1].

on 31 Mar 2014

Andrew Small received Commenter badge for Solution 254762

on 31 Mar 2014