How to plot a function like this in matlab

2 次查看(过去 30 天)
exp(-ax+bx^2) where x ranges from 5-250 in order of 1.

采纳的回答

Walter Roberson
Walter Roberson 2013-2-23
x = 5 : 250;
y = exp(-a*x + b*x.^2);
plot(x, y)

更多回答(0 个)

类别

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