Inspired by Problem 1827 by Andrew Newell.
Write a function that has the following property:
The test suite is simple. The goal is just to obtain a general method.
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