MATLAB: How to plot this equation y=exp(-(K-1))

doit4meMATLABplotting

I want to plot the equation y=exp(-(K-1)) in matlab..can anyone help me please

Best Answer

Or, simply plot your function, like:
K = linspace(0,10,100);
y = exp(-(K-1));
plot(K,y);