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!