Multiplication of polynomials is a very tough process by hand in mathematics. If you have very complex and long-tail polynomials to multiplicate, solving the problem with the hand can be very tough. You can do this in Matlab® with the ‘conv()’ command very easily. In this article, we explained how to do multiplication of polynomials with conv() command in Matlab®, with a very basic example below.

On this post

## How To Use ‘conv()’ Command In Matlab®?

```
>> a = [4 8 2 6 8 6];
b = [4 0 5 6 3 1];
conv(a,b)
ans =
Columns 1 through 8
16 32 28 88 102 94 90 98
Columns 9 through 11
66 26 6
>>
```

To multiplicate polynomials, first you need to identify polynomials as vectors like above. For example, we identified vectors as ‘a’ and ‘b’. The logic of identifying polynomials, for example, ‘a’ means the polynomial of 4x^5+8x^4+2x^3+6x^2+8x+6. So you understand that each element of the vector identifies the coefficient of a related polynomial in Matlab®.

YOU CAN LEARN MatLab® IN MECHANICAL BASE; Click And Start To Learn MatLab®!

As you know that multiplication of these kinds of long-tail polynomials in maths is very tough by hand.

What we did is, just typed the vectors that identify polynomials inside the parentheses of conv() command in Matlab®.

The result is given as ‘and’ as you see above. Also, you can assign a variable to the conv() command in Matlab®.

## Conclusion

The use of the ‘conv()’ command in Matlab® to multiplicate polynomials is like the above. Do not forget to leave your comments and questions below about the ‘conv()’ command in Matlab®.

This article is prepared for completely educative and informative purposes. Images used courtesy of Matlab®

Your precious feedbacks are very important to us.

## Leave a Reply