| Signal Processing Toolbox | Search  Help Desk |
| deconv | Examples See Also |
Deconvolution and polynomial division.
Syntax
[q,r] = deconv(b,a)
Description
[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.
The deconv function is part of the standard MATLAB language.
Example
The convolution ofa = [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 0
Algorithm
This function callsfilter to compute the deconvolution as the impulse response of an IIR filter.
See Also
conv |
Convolution and polynomial multiplication. |
filter |
Filter data with a recursive (IIR) or nonrecursive (FIR) filter. |
residuez |
z-transform partial fraction expansion. |