How to plot this on a graph
3 次查看(过去 30 天)
显示 更早的评论
how do u plot this between 0 and 2
syms n x
F = symsum(1/factorial(n),n,1,5)
0 个评论
采纳的回答
Ameer Hamza
2020-10-30
There is no 'x' in your expression inside symsum(). I guess you are tyring to plot taylor series of exp(x). Try this
syms n x
F = symsum(x^n/factorial(n),n,0,5);
fplot(F, [0 2])
9 个评论
Ameer Hamza
2020-10-31
But how do you define the polynomial from the series of 1/n!. If you look at my original answer. It does create a polynomial.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!