フィルターのクリア

I am getting a straight line while running the following code. What is going wrong??

1 回表示 (過去 30 日間)
x=0.1:0.001:10;
y=exp(-x.^2/2)/sqrt(x);
plot(x,y)

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 2 月 14 日
編集済み: Azzi Abdelmalek 2014 年 2 月 14 日
x=0.1:0.001:10;
y=exp(-x.^2/2)./sqrt(x);
plot(x,y)
It's ./ instead of /

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by