Signal Processing Toolbox | Help Desk |
deconv
Deconvolution and polynomial division.
[q,r] = deconv(b,a)
[q,r] = deconv(b,a)
deconvolves vector a
out of vector b
, using long division. The result (quotient) is returned in vector q
and the remainder in vector r
such that b = conv(q,a) + r
.
If a
and b
are vectors of polynomial coefficients, convolving them is equivalent to polynomial multiplication, and deconvolution is equivalent to polynomial division. The result of dividing b
by a
is quotient q
and remainder r
.
deconv
is part of the main MATLAB environment.
The convolution of a = [1 2 3]
and b = [4 5 6]
is
c = conv(a,b) c = 4 13 28 27 18Use
deconv
to divide b
back out:
[q,r] = deconv(c,a) q = 4 5 6 r = 0 0 0 0 0This function is an M-file in the MATLAB environment that uses the
filter
primitive. Deconvolution is the impulse response of an IIR filter.
Filter data with a recursive (IIR) or nonrecursive (FIR) filter. |
|