For a given number between 1-365 (a day number in a non leap year), you should check which day of which month it is.
n=35 should give back 4 Feb.
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