Compute Taylor Series for Multivariate Expressions

    Note:   Use only in the MuPAD Notebook Interface. This functionality does not run in MATLAB.

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?