taylor expansion of a long expression

2 次查看(过去 30 天)
kevin k
kevin k 2015-10-17
评论: Torsten 2015-10-19
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 个评论
Torsten
Torsten 2015-10-19
u,v,w,z are syms and f is not a function handle ?
Please show us your complete call to "taylor"
Best wishes
Torsten.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2015-10-17
Not all functions have taylor expansions.
  1 个评论
kevin k
kevin k 2015-10-17
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by