Question: 16. Write a user-defined function that multiplies two polynomials. Name the function p=polymult(p1,p2). The two input arguments p1 and p2 are vectors of the coefficients
16. Write a user-defined function that multiplies two polynomials. Name the function p=polymult(p1,p2). The two input arguments p1 and p2 are vectors of the coefficients of the two polynomials. The output argument p is the resulting polynomial.
Use the function to multiply the following polynomials:
Check the answer with MATLAB’s built-in function conv.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
