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 Fri 22-May-2009 15:13:00 by m2html © 2003