Y, M, and D must be arrays of the same size (or any can be a scalar). Returns the serial date number for corresponding elements of the Y, M, and D (year, month, day) arrays. The default pivot year is the current year minus 50 years. Uses the specified pivot year as the starting year of the 100-year range in which a two-character year resides. If DT is a string, it must be in one of the date formats 0, 1, 2, 6, 13, 14, 15, 16, or 23 as defined by datestr. Date strings with two-character years, e.g., 12-june-12, are assumed to lie within the 100-year period centered about the current year. Ĭonverts the date string or date vector DT into a serial date number. By default, the serial day 1 corresponds to. Date numbers are serial days elapsed from some reference date. The datenum function converts date strings and date vectors (defined by datevec) into serial date numbers. Datenum (MATLAB Functions) MATLAB Function Reference
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |