reorg2vec
Reorganize to vector.
Syntax
p = reorg2vec(veccell)
Description
p = reorg2vec(veccell) changes output from str2poly to
Tau library specific format.
Input
veccell = cell array of a matrix.
Output
p = vector representing the polynomial p = sum(i = 1:n) pit^i.
Example
p = reorg2vec(str2poly({'2*t^3+4*t^5-6*t^7'}, {'t'})) returns:
p = [0 0 0 2 0 4 0 -6]'.
See also
STR2POLY, POLY2STR and REORG2POLY
p = reorg2vec(veccell) changes output from str2poly to Tau library specific format.
Input
veccell = cell array of a matrix.
Output
p = vector representing the polynomial p = sum(i = 1:n) pit^i.
Example
p = reorg2vec(str2poly({'2*t^3+4*t^5-6*t^7'}, {'t'})) returns:
p = [0 0 0 2 0 4 0 -6]'.
See also
STR2POLY, POLY2STR and REORG2POLY
p = vector representing the polynomial p = sum(i = 1:n) pit^i.
Example
p = reorg2vec(str2poly({'2*t^3+4*t^5-6*t^7'}, {'t'})) returns:
p = [0 0 0 2 0 4 0 -6]'.
See also
STR2POLY, POLY2STR and REORG2POLY
STR2POLY, POLY2STR and REORG2POLY