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)