Main Content

Polynomials

Curve fitting, roots, partial fraction expansions

Polynomials are equations of a single variable with nonnegative integer exponents. MATLAB® represents polynomials with numeric vectors containing the polynomial coefficients ordered by descending power. For example, [1 -4 4] corresponds to x2 - 4x + 4. For more information, see Create and Evaluate Polynomials.

Functions

polyPolynomial with specified roots or characteristic polynomial
polydivPolynomial long division (Since R2024a)
polyeigPolynomial eigenvalue problem
polyfitPolynomial curve fitting
residuePartial fraction expansion (partial fraction decomposition)
rootsPolynomial roots
polyvalPolynomial evaluation
polyvalmMatrix polynomial evaluation
convConvolution and polynomial multiplication
deconvLeast-squares deconvolution and polynomial division
polyintPolynomial integration
polyderPolynomial differentiation

Topics

Featured Examples