Suppose you wanted to divide the polynomial \(p_1(x) = 2x^3 + 9x^2 + 7x -6\) by the polynomial \(p_2(x) = x+3\text{.}\) Do you remember how to do such a polynomial division by hand?
The deconv function returns two arguments: \(q\) is a row vector of coefficients of the polynomial that results from the division and \(r\) is a row vector of coefficients of the polynomial remainder (in the above example there is no remainder).