Home > Objects > @iData > diff.m

iFit/diff

PURPOSE ^

b = diff(s) : computes the difference long 1st axis of iData object

SYNOPSIS ^

function a = diff(a)

DESCRIPTION ^

 b = diff(s) : computes the difference long 1st axis of iData object

   @iData/diff function to compute the difference along rows, that is the 
     gradient for the 1st axis (rows).

 input:  s: object or array (iData)
 output: b: object or array (iData)
 ex:     b=diff(a);

 Version: Mar. 22, 2017
 See also iData, iData/gradient, iData/sum, iData/trapz, iData/jacobian

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1