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.
for example,
n=35 should give back 4 Feb.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers34
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53138 Solvers
-
Create an index-powered vector
948 Solvers
-
Find the dimensions of a matrix
563 Solvers
-
Max Change in Consecutive Elements
181 Solvers
-
Deleting an element in a matrix
493 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
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 ;)