# Division Of Polynomials In MatLab(Illustrated Expression)

As **multiplication of polynomials in Matlab**, division of high degree of polynomials with low degree polynomials is also very easy. And you can see the division result as division result and remainder. In this article we explained the division of polynomials with ‘deconv()’ command in Matlab with a very basic example below.

### How To Use ‘deconv()’ Command In MatLab?

Use of ‘deconv()’ command in Matlab.

As you know, division of high degree polynomials with low degree polynomials is very tough process in calculus by hand. But in Matlab, it is a very easy process. To divide high degree polynomials with low degree polynomials in Matlab, you need to undertand the logic of definition of polynomials in Matlab.

You can define your polynomial as vectors in Matlab. We defined the high degree numerator polynomial and low degree denumerator polynomials vectors as shown in red box above in Matlab. For example, ‘numerator’ named vector stands for the polynomial of 4x^8+6x^7+5x^6+8x^5+9x^4+6x^3+2x^2+6x+3. So you understand that each of element of the polynomial vector in Matlab represents the coefficient starting from highest degree left to right.

As you know from calculus, division of polynomials has a result and remainder. To see these result and remainder from this division example, we defined them as vector variables in same time as shown by red arrow above. Two of variables called ‘result’ and ‘residual’ defined for deconv() command. You can use other kinds of names for variables.

Then numerator and denumerator variables are typed in the pharantheses of ‘deconv()’ in Matlab as shown by red arrow above. As you see again above, the result and residual is given as vectors with the same logic of ‘numerator’ and ‘denumerator’.

The use of ‘deconv()’ command to divide polynomials in Matlab is very easy like above. Do not forget to leave your comments and questions about ‘deconv()’ command in Matlab below!