pow2orth

Change from power series to orthogonal basis.


Syntax
   f = pow2orth(x, polynomial)

Description
   f = pow2orth(varargin) converts some polynomial from power basis to
   some choosen orthogonal polynomial basis.

Inputs
   x          = independent tau variable (itau object).
   polynomial = p(x) polynomial in power series (char).
                Is not necessary be vectorized.

Output
   f         = coefficients of polinomial in the orthogonal
                basis (double vector).

See also
  str2poly and poly2str.