Home > Objects > @iData > cumtrapz.m

iFit/cumtrapz

PURPOSE ^

s = cumtrapz(a,dim) : computes the cumulative product of iData objects elements

SYNOPSIS ^

function b = cumtrapz(a,dim)

DESCRIPTION ^

 s = cumtrapz(a,dim) : computes the cumulative product of iData objects elements

   @iData/cumtrapz function to compute the cumulative integral (primitive) of the data set
     cumtrapz(a,dim) operates along axis of rank dim. The axis is then removed.
       default is to use dim=1. If dim=0, integration is done on all axes and 
       the total is returned as a scalar value. 
       cumtrapz is complementary to cumsum and camproj, but takes into account axes.

 input:  a: object or array (iData)
         dim: dimension to integrate (int)
 output: s: accumulated integral of elements, i.e. primitive (iData)
 ex:     c=cumtrapz(a);

 Version: Nov. 26, 2018
 See also iData, iData/plus, iData/sum, iData/prod, iData/cumsum

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1