reorg2poly
Reorganize to polynomial.
Syntax
pol = reorg2poly(p)
Description
pol = reorg2poly(p) changes from vector to polynomial format.
Input
p = polynomial coefficients vector.
Output
pol = polynomial p = sum(i = 1:n) pit^i.
Example
pol = reorg2poly([0 0 0 2 0 4 0 -6])
returns:
pol = '2*t^3+4*t^5-6*t^7'.
See also
STR2POLY, POLY2STR and REORG2VEC
pol = reorg2poly(p) changes from vector to polynomial format.
Input
p = polynomial coefficients vector.
Output
pol = polynomial p = sum(i = 1:n) pit^i.
Example
pol = reorg2poly([0 0 0 2 0 4 0 -6])
returns:
pol = '2*t^3+4*t^5-6*t^7'.
See also
STR2POLY, POLY2STR and REORG2VEC
pol = polynomial p = sum(i = 1:n) pit^i.
Example
pol = reorg2poly([0 0 0 2 0 4 0 -6])
returns:
pol = '2*t^3+4*t^5-6*t^7'.
See also
STR2POLY, POLY2STR and REORG2VEC
STR2POLY, POLY2STR and REORG2VEC