Home > freetb4matlab > time > addtodate.m

addtodate

PURPOSE ^

% Add @var{q} amount of time (with units @var{f}) to the datenum, @var{d}.

SYNOPSIS ^

function d = addtodate (d, q, f)

DESCRIPTION ^

% -*- 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003