| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Symbolic Math Toolbox |
| Contents | Index |
| Learn more about 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.
Find nested polynomial representation of the polynomial:
syms x horner(x^3-6*x^2+11*x-6)
The result is
ans = x*(x*(x - 6) + 11) - 6
Find nested polynomial representation for the polynomials that form a vector:
syms x y horner([x^2+x;y^3-2*y])
The result is:
ans = x*(x + 1) y*(y^2 - 2)
expand, factor, simple, simplify, syms
![]() | heaviside (sym) | hypergeom (sym) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |