| Symbolic Math Toolbox™ | ![]() |
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
![]() | heaviside | hypergeom | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |