deconv

Deconvolution of two vectors, or polynomial division.

Syntax

[q,r] = deconv(a,b)

Inputs

a
The numerator coefficients, when viewed as polynomial division.
Dimension: vector
b
The denominator, when viewed as polynomial division.
Dimension: vector

Outputs

q
The quotient
vector
r
The remainder, having the same dimensions as a.
vector

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;