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

1 次查看(过去 30 天)
I want to plot the equation y=exp(-(K-1)) in matlab..can anyone help me please

采纳的回答

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

更多回答(1 个)

James Tursa
James Tursa 2017-7-15

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by