| Signal Processing Toolbox | ![]() |
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 of a = [1 2 3] and b = [4 5 6] is
c = conv(a,b)
c =
4 13 28 27 18
Use deconv to divide b back out.
[q,r] = deconv(c,a)
q =
4 5 6
r =
0 0 0 0 0
Algorithm
This function calls filter to compute the deconvolution as the impulse response of an IIR filter.
See Also
|
Convolution and polynomial multiplication. |
|
Apply a filter to data. |
|
z-transform partial fraction expansion. |
| decimate | demod | ![]() |