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 ;)
Project Euler: Problem 7, Nth prime
Back to basics 25 - Valid variable names
Replace Vector Elements
Generate a string like abbcccddddeeeee
Generate a NaN...on purpose
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