Multiplication Of Polynomials In MatLab(Illustrated Expression)

Multiplication of polynomials is very tough process by hand in mathematics. If you have very complex and long-tail polynomials to multiplicate, solving the problem with hand can be very tough. You can do this in Matlab with ‘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.

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

Use of ‘conv()’ command in Matlab.

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 idetifying polynomials, for example ‘a’ means the polynomial of 4x^5+8x^4+2x^3+6x^2+8x+6. So you understand that the each element of vector identifies the coefficient of related polynomial in 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 idetify polynomials inside the pharantheses of conv() command in Matlab as shown in red box.

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

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

Share This Post! Share Tweet Share

Write your comment on this topic.