MATLAB: How to approximate a polynomial using the Symbolic Toolbox

Extended Symbolic Math ToolboxpolynomialpowmodsortsymbolicSymbolic Math Toolbox

I would like to approximate a polynomial using the Symbolic Toolbox.

Best Answer

To approximate a polynomial, use the POWMOD function from the Extended Symbolic Toolbox. Here is an example which does this:
syms x y
z=expand((x+y)^10)
maple('readlib(powmod)')
maple('powmod',z,1,x^6,x)