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 Sat 16-May-2009 00:04:49 by m2html © 2003