Question: Write a user-defined function that multiplies two polynomials. Name the function p=polymul t (pl1, p2). The two input arguments pl and p2 are vectors of

Write a user-defined function that multiplies two polynomials. Name the function p=polymul t (pl1, p2). The two input arguments pl 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:
f1(x) = 2x6 - 3x4 - 9x3 + llx2 - 8x + 4 and f2(x) = 5x3 + 7x - 10
Check the answer with MATLAB's built-in function conv.

Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Userdefined function function p polymult p1p2 Multiply polynomials na lengthp1 nb lengthp2 if ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

652-B-F-F-M (773).docx

120 KBs Word File

Students Have Also Explored These Related Finance Questions!