How to plot a function like this in matlab

3 views (last 30 days)
exp(-ax+bx^2) where x ranges from 5-250 in order of 1.

Accepted Answer

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

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!