Azzera filtri
Azzera filtri

Taylor expansion with 2 variables

4 visualizzazioni (ultimi 30 giorni)
Weia Reinboud
Weia Reinboud il 2 Lug 2018
Risposto: Weia Reinboud il 3 Lug 2018
I have a long function and want to know its Taylor expansion, but it's a function with 2 variables f(g,h). I expect a summation of a Taylor series in g and one in h. The documentation contains something like that, but I do not see how to do it. In which screen expansions pop up?

Risposte (2)

Anton Semechko
Anton Semechko il 2 Lug 2018
Taylor's theorem generalizes to multivariate functions. Formula for third order approximation of a bivariate function can be found here , under the heading "Example in two dimensions".

Weia Reinboud
Weia Reinboud il 3 Lug 2018
I overlooked 'syms'. So it works now. But now I have a new problem, the expansion is over 25000 signs long, too long for the command window. And too long for my goal. I have to do some rethinking...

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by