Decimal year calculator
converts one or more date vectors, dy = decyear(dateVector)dateVector, into decimal year,
dy.
converts one or more date character vectors, dy = decyear(dateCharacterVector,format)dateCharacterVector, to
decimal year using format format.
and
dy = decyear(year,month,day)
return the decimal year for corresponding elements of the dy = decyear([year,month,day])year,month,day
arrays.
and
dy = decyear(year,month,day,hour,minute,second)
return the decimal year for corresponding elements of the
dy = decyear([year,month,day,hour,minute,second])
arrays. Specify the six arguments as one-dimensional arrays of the same length or as scalar
values.year,month,day,hour,minute,second
datenum | datestr | decyear | leapyear | mjuliandate