As before, I am thinking of a number between 1 and 10000... can you guess what this number is?
The test suite has random entries. Your job is to find a hack and have your function return the correct answer.
Neither the @bmtran's evalin trick nor a lookup table nor the solution to our previous hackathon entries would work here...
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more