MATLAB: How to plot this on a graph

factorialplotrange

how do u plot this between 0 and 2
syms n x
F = symsum(1/factorial(n),n,1,5)

Best Answer

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])
Related Question