Unable to compute a taylor expansion
38 views (last 30 days)
Show older comments
syms x
f = log(x);
T1 = taylor(f,x,'order',1);
T2 = taylor(f, x, 'Order', 2);
T4 = taylor(f, x, 'Order', 4);
T8 = taylor(f, x, 'Order', 8);
fplot([T1 T2 T4 T8 f])
I did this and got "Error using symengine Unable to compute a Taylor expansion." and "Error in sym/taylor (line 128) tSym = mupadmex('symobj::taylor',f.s,x.s,a.s,options);"
0 Comments
Accepted Answer
KSSV
on 15 Nov 2021
syms x
f = log(x);
T1 = taylor(f,x,'ExpansionPoint',1,'order',1);
T2 = taylor(f,x,'ExpansionPoint',1,'order',2);
T4 = taylor(f,x,'ExpansionPoint',1,'order',4);
T8 = taylor(f,x,'ExpansionPoint',1,'order',8);
fplot([T1 T2 T4 T8 f])
More Answers (0)
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!