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.
Hi Hassan: Thanks for the problem! You might want to be clear that this is for (I assume) a non leap year.
Thanks Ned, DONE ;)
Arrange vector in ascending order
Add two numbers
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office