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
p, that is, the list of indices with non zero
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
polylib::support(Dom::UnivariatePolynomial(x)(x^3*y*z + x + 1))
List of elements of the support.