| Symbolic Math Toolbox | Search  Help Desk | |
| horner | Examples | See Also |
Horner polynomial representation.
R = horner(P)Suppose
P is a matrix of symbolic polynomials. horner(P) transforms each element of P into its Horner, or nested, representation.
horner(x^3-6*x^2+11*x-6) returns
-6+(11+(-6+x)*x)*x
horner([x^2+x;y^3-2*y]) returns
[ (1+x)*x] [(-2+y^2)*y]
expand, factor, simple, simplify, syms