16. Write a user-defined function that multiplies two polynomials. Name the function p=polymult(p1,p2). The two input arguments
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 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.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: