- Manuel Scilab
- Traitement du Signal
- How to
- Signal
- analpf
- bilt
- buttmag
- casc
- cepstrum
- cheb1mag
- cheb2mag
- chepol
- convol
- corr
- cspect
- czt
- detrend
- dft
- ell1mag
- eqfir
- eqiir
- faurre
- ffilt
- fft
- fft2
- fftshift
- filt_sinc
- filter
- find_freq
- findm
- frfit
- frmag
- fsfirlin
- group
- hank
- hilb
- hilbert
- iir
- iirgroup
- iirlp
- intdec
- jmat
- kalm
- lattn
- lattp
- lev
- levin
- lindquist
- mese
- mfft
- mrfit
- %asn
- %k
- %sn
- phc
- pspect
- remez
- remezb
- rpem
- sincd
- srfaur
- srkf
- sskf
- syredi
- system
- trans
- wfir
- wiener
- wigner
- window
- yulewalk
- zpbutt
- zpch1
- zpch2
- zpell
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
convol
convolution
Calling Sequence
[y]=convol(h,x) [y,e1]=convol(h,x,e0)
Arguments
- h
a vector, first input sequence ("short" one)
- x
a vector, second input sequence ( "long" one)
- e0
a vector,old tail to overlap add (not used in first call)
- y
a vector, the convolution.
- e1
new tail to overlap add (not used in last call)
Description
Calculates the convolution y= h*x
of two discrete
sequences by using the fft. The convolution is defined as follow:
Overlap add method can be used.
USE OF OVERLAP ADD METHOD: For
x=[x1,x2,...,xNm1,xN]
First call is
[y1,e1]=convol(h,x1);
Subsequent calls :
[yk,ek]=convol(h,xk,ekm1)
; Final call :
[yN]=convol(h,xN,eNm1);
Finally
y=[y1,y2,...,yNm1,yN]
.
The algorithm based on the convolution definition is
implemented for polynomial
product: y=convol(h,x)
is equivalent
to y=coeff(poly(h,'z','c')*poly(x,'z','c')
but
much more efficient if x
is a "long" array.
Examples
Authors
F. D , C. Bunks Date 3 Oct. 1988; ;
<< chepol | Traitement du Signal | corr >> |