Clear Filters
Clear Filters

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

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

Accepted Answer

Akira Agata
Akira Agata on 16 Jul 2017
Or, simply plot your function, like:
K = linspace(0,10,100);
y = exp(-(K-1));
plot(K,y);

More Answers (1)

James Tursa
James Tursa on 15 Jul 2017

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!