MATLAB: How to plot e^(-2n) plotting How would you actually plot e^(-2n) in Matlab? Best Answer f = @(x)exp(-2*x);fplot(f) Related SolutionsMATLAB: Quick reference guide for plotting https://www.mathworks.com/help/matlab/ref/plot.html#btzitot-LineSpec MATLAB: How to plot graphs of sine and cosine functions on the same coordinate plane using matlab use the 'hold on' command. For example:t=1:0.1:10plot(t,sin(t))hold on;plot(t,cos(t)) Related QuestionProblem with the 2D-plot of a functionCalculating a function and drawing a graphLOG vs LOG10 plotWhat does ‘y:’ stand for in plot commandI need some help resolving and “inner matrix dimensions must agree” error
Best Answer