MATLAB: How do i represent graphically e-r limit e=lim r r=(1+1/n)^n n=5:5:500 Best Answer Try this: syms r(n) n r(n)=(1+1/n)^n;lim_r = limit(r, n, Inf)fplot(r, [0 500], '-b')hold onfplot(lim_r, [0 500], '--r')hold offylim(double([r(eps) ceil(r(500))])) Related SolutionsMATLAB: How to add a number of transfer function Salim, you could simply do ... R = 0 for n = 1:N R = R + (2*T*C*s)/(n^2*pi^2*1) Cn = C/2 end Zs = R/(1+R*Cn*s) MATLAB: Is the plot inside the loop not working The default behaviour of plot is to connect two points with a line. If it only gets one point, it plots nothing. If you give it a marker, it will plot the marker.Try this:plot(i, e_i, 'pg') Related QuestionHow can i calculate the sum of the following geometric series N= 1000 and r =0.99
Best Answer