Symbolic Math Toolbox | ![]() ![]() |
Syntax
R = horner(P)
Description
Suppose P
is a matrix of symbolic polynomials. horner(P)
transforms each element of P
into its Horner, or nested, representation.
Examples
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]
See Also
expand
, factor
, simple
, simplify
, syms
![]() | funtool | hypergeom | ![]() |