Polymul

Parent Previous Next

Polymul


Polynomial multiplication



Syntax


polymul(x, y)

x, y are vectors

The input arguments x, y define two polynomials where the elements of the vectors are the coefficients in descending powers of the defined polynomial. polymul(x, y) return a vector which contains the coefficients of the product polynomial of the two polynomials


Example


Input

Output

a=[1,0,-6,7]

b=[5,-3,0,1,0,3]

polymul(a,b)


See Also


Created with the Personal Edition of HelpNDoc: Free help authoring tool