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

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

 Accepted Answer

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

Categories

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!