Hi there, I'm trying to plot this function in matlab, but the plot shows up blank. The workspace says y=1.524 which confuses me. Any ideas?
t=0:0.1:1;
y=(2*t+1)/(t.^2+1);
plot(t,y)

 採用された回答

Walter Roberson
Walter Roberson 2015 年 12 月 6 日
編集済み: Walter Roberson 2015 年 12 月 6 日

0 投票

t=0:0.1:1;
y=(2*t+1) ./ (t.^2+1);
plot(t,y)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-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