Home > Objects > @iData > convn.m

iFit/convn

PURPOSE ^

c = convn(a,b) : computes the convolution of an iData object with a response function

SYNOPSIS ^

function c = convn(a,b)

DESCRIPTION ^

 c = convn(a,b) : computes the convolution of an iData object with a response function 

   @iData/convn function to compute the convolution of data sets with automatic centering
     and normalization of the filter. This is a shortcut for
       conv(a,b, 'same pad background center normalize')
     When used with a single scalar value, it is used as a width to build a 
       gaussian function, with same width along all dimensions
     When used with a vector of same length as the object dimension, a nD
       gaussian function with width as vector elements along each diemsions

 input:  a: object or array, signal (iData or numeric)
         b: object or array, filter (iData or numeric)
 output: c: object or array (iData)
 ex:     c=convn(a,b);

 Version: Mar. 22, 2017
 See also iData, iData/times, iData/conv, iData/fft, iData/xcorr, fconv, fconvn, fxcorr

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