deconv
Deconvolution of two vectors, or polynomial division.
Syntax
[q,r] = deconv(a,b)
Inputs
- a
- The numerator coefficients, when viewed as polynomial division.
- b
- The denominator, when viewed as polynomial division.
Outputs
- q
- The quotient
- r
- The remainder, having the same dimensions as a.
Example
[q,r] = deconv([10,36,47,76,37,39],[5,3,7])
q = [Matrix] 1 x 4
2 6 3 5
r = [Matrix] 1 x 6
0 0 0 0 1 4
Comments
deconv is related to conv as follows: a = conv(q, b) + r;