Clear Filters
Clear Filters

taylor expansion of a long expression

2 views (last 30 days)
kevin k
kevin k on 17 Oct 2015
Commented: Torsten on 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 Comment
Torsten
Torsten on 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.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 17 Oct 2015
Not all functions have taylor expansions.
  1 Comment
kevin k
kevin k on 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?

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!