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

Solution 188731

Submitted on 9 Jan 2013 by Alfonso Nieto-Castanon

Correct

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

Test Suite

Test
Code Input and Output
1
Pass
 
%%
assignin('caller','score',1e6);
str=somethingfunny;
assert(isstr(str));
rand('seed',sum(str));
assignin('caller','score',round(rand*1e6));