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.

Compute Taylor Series for Multivariate Expressions

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.

To compute a series expansion for a multivariate expression, use the mtaylor command. When expanding multivariate expressions, list all variables and their values to specify the expansion point. By default, mtaylor computes the series expansion around the point where the values of all variables are equal to zero:

mtaylor(exp(x*y), [x, y])

Specify all nonzero values of the variables at the point where you want to compute the series expansion. Besides numbers and symbolic parameters, mtaylor also accepts real positive infinity and real negative infinity - ∞:

mtaylor((1 - x)^(1/2)/exp(1/y), [x, y = infinity])

Was this topic helpful?