Description: This year has calculated the number of days elapsed (including that day). In non-leap year, it ranges from 1 to 365 in a leap year, it s the range of 1 to 366. Write a MATLAB program, enter the year, month, day, corresponding to the output of the first year of the day is a few days.
This leap is required
1) is divisible by 400 is a leap year
2) can be divisible by 100 but not divisible by 400 years is not a leap year
3) be divisible by 4 but not divisible by 100 is a leap year
4) the rest of the year is not leap year
To Search:
File list (Check if you may need any files):
date calculate\t1.m
..............\说明.docx
date calculate