How to plot a function like this in matlab

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

 採用された回答

Walter Roberson
Walter Roberson 2013 年 2 月 23 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by