Logo   Information, Signal, Images et ViSion C.N.R.S.   GdR   M.E.S.R.

integ2d



Purpose
Approximate 2-D integral.


Synopsis
som = integ2d(MAT)
som = integ2d(MAT,x)
som = integ2d(MAT,x,y)


Description
integ2d approximates the 2-D integral of matrix MAT according to abscissa x and ordinate y.

Name Description Default value
MAT (M,N) matrix to be integrated  
x N-row-vector indicating the abscissa integration path (1:N)
y M-column-vector indicating the ordinate integration path (1:M)
som result of integration  




Example
Consider the scalogram of a sinusoidal frequency modulation of 128 points, and compute the integral over the time-scale plane of the scalogram :
         S = fmsin(128,0.2,0.3);
         [TFR,t,f] = tfrscalo(S,1:128,8,0.1,0.4,128,1);
         Etfr = integ2d(TFR,t,f)
         Etfr = 
                128.0000
We find for Etfr the value of the signal energy, which is the expected value since the scalogram preserves energy.


See Also
integ.

Eric Chassande-Mottin 2005-10-26

© GdR ISIS - Contact