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::cyclotomic(n, x) computes the n-th
cyclotomic polynomial, expressed in the indeterminate x.
The n-th cyclotomic polynomial is defined to be the minimal polynomial of any n-th primitive root of unity over the field of rational numbers.
We compute the 20th cyclotomic polynomial.
Expr in the indeterminate