Matlab won't plot my function
2 ビュー (過去 30 日間)
古いコメントを表示
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)
0 件のコメント
採用された回答
Walter Roberson
2015 年 12 月 6 日
編集済み: Walter Roberson
2015 年 12 月 6 日
t=0:0.1:1;
y=(2*t+1) ./ (t.^2+1);
plot(t,y)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!