Effacer les filtres
Effacer les filtres

taylor expansion of a long expression

2 vues (au cours des 30 derniers jours)
kevin k
kevin k le 17 Oct 2015
Commenté : Torsten le 19 Oct 2015
Hi
I have a very long polynomial in coefficients u,v,w,z stored in variable f and I would like to truncate high order terms. when I try to calculate: "taylor(f, [u, v, w, z],'Order', 5) " I do not get the result I want but an expression starts with "mtaylor(....) " or some massage that matalb cannot compute it. How can I solve it ? thanks
  1 commentaire
Torsten
Torsten le 19 Oct 2015
u,v,w,z are syms and f is not a function handle ?
Please show us your complete call to "taylor"
Best wishes
Torsten.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 17 Oct 2015
Not all functions have taylor expansions.
  1 commentaire
kevin k
kevin k le 17 Oct 2015
the function I have is a homogeneous polynomial. all I want is to truncate the high powers.Maybe there is another way to do it?

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by