calendar
Calendar.
📝Syntax
calendar()
c = calendar()
c = calendar(d)
c = calendar(y, m)
📥Input Arguments
Parameter Description
d an integer value: a serial date number.
y an integer value: 'year' desired [1400, 9999].
m an integer value: 'month' desired [1, 12].
📤Output Arguments
Parameter Description
c a 6x7 matrix.
📄Description

calendar() returns the currently monthly calendar.

If no output arguments are specified,the calendar is displayed on the screen instead of returning a matrix 6x7.

💡Examples
calendar()
c = calendar(1973, 8)
c = calendar(datenum(1973, 8, 4))
🔗See Also
datenum
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub