8.2.2 caldays

Function File: out = caldays (x)

Create a calendarDuration that is a given number of calendar days long.

Input x is a numeric array specifying the number of calendar days.

This is a shorthand alternative to calling the calendarDuration constructor with calendarDuration(0, 0, x).

Returns a new calendarDuration object of the same size as x.

See calendarDuration.