<< packr Basic functions ptrend >>

Grocer >> Basic functions > polymult

polymult

mimics gauss function polymult

CALLING SEQUENCE

vecout=polymult(vec1,vec2)

PARAMETERS

Input

* vec1 = a (nx1) vector of coefficients representing a polynom

* vec2 = a (mx1) vector of coefficients representing a polynom

 

Output

* vecout = a ((n+m)x1) vector of coefficients representing a polynom

DESCRIPTION

Function that mimics gauss function polymult: polymult = Scilab function convol ! (but with greater precision)

EXAMPLE

polymult([1 2 1],[1 -2])
// returns
//ans  =
//!   1.    0.  - 3.  - 2. !

AUTHOR

Eric Dubois 2004

Report an issue
<< packr Basic functions ptrend >>