This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Support of a polynomial

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.




polylib::support(p) returns the support of p, that is, the list of indices with non zero coefficient in p.


Example 1

The support of a multivariate polynomial is the list of the degree vectors of its terms:

polylib::support(poly(x*y*z + x + 1, [x, y, z]))

For a univariate polynomial, the support is the list of the degrees of its terms. In the following polynomial x appears with degrees 3, 1, and 0:

polylib::support(Dom::UnivariatePolynomial(x)(x^3*y*z + x + 1))



A polynomial.

Return Values

List of elements of the support.

Was this topic helpful?