Effacer les filtres
Effacer les filtres

taylor expansion for multiple variables with orders

1 vue (au cours des 30 derniers jours)
Jenny Shen
Jenny Shen le 7 Oct 2018
Modifié(e) : JSC le 8 Oct 2018
Hi All If I have a function f(x,y). I want to taylor expasion it at [x0,y0] with x order up to N and Y order up to M and combined order up to K. How to do it? taylor(f,[x,y],[x0,y0],[N,M], absolutOrder=K)?
  1 commentaire
JSC
JSC le 8 Oct 2018
Do you have the symbolic math toolbox?

Connectez-vous pour commenter.

Réponses (1)

JSC
JSC le 8 Oct 2018
Modifié(e) : JSC le 8 Oct 2018
I think you can use
mtaylor(f,[x=x0,y=y0],absolutOrder=K,[weight_x,weight_y])
where the vector [weight_x,weight_y] sets the order of x to K/weight_x and the order of y to K/weight_y. So you could try weight_x = K/N and weight_y = K/M. But the weights must be positive integers, so not every value for N and M is possible.

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by