Home > freetb4matlab > general > cumtrapz.m

cumtrapz

PURPOSE ^

%

SYNOPSIS ^

function z = cumtrapz (x, y, dim)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{z} =} cumtrapz (@var{y})
% @deftypefnx {Function File} {@var{z} =} cumtrapz (@var{x}, @var{y})
% @deftypefnx {Function File} {@var{z} =} cumtrapz (@dots{}, @var{dim})
% 
% Cumulative numerical integration using trapezoidal method.
% @code{cumtrapz (@var{y})} computes the cumulative integral of the 
% @var{y} along the first non-singleton dimension.  If the argument 
% @var{x} is omitted a equally spaced vector is assumed.  @code{cumtrapz 
% (@var{x}, @var{y})} evaluates the cumulative integral with respect 
% to @var{x}.
%  
% @seealso{trapz,cumsum}
% @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