% -*- texinfo -*- % @deftypefn {Function File} {@var{d} =} addtodate (@var{d}, @var{q}, @var{f}) % Add @var{q} amount of time (with units @var{f}) to the datenum, @var{d}. % % @var{f} must be one of 'year', 'month', 'day', 'hour', 'minute', or % 'second'. % @seealso{datenum, datevec} % @end deftypefn