taylor expansion of a long expression

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

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)

Not all functions have taylor expansions.

1 Comment

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.

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Asked:

on 17 Oct 2015

Commented:

on 19 Oct 2015

Community Treasure Hunt

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

Start Hunting!