My code only plots one point
7 ビュー (過去 30 日間)
古いコメントを表示
Im trying to plot N(# of stages) vs pi_s(pressure ratio), but i only get one point.


0 件のコメント
採用された回答
KALYAN ACHARJYA
2021 年 2 月 9 日
編集済み: KALYAN ACHARJYA
2021 年 2 月 9 日
Define Before the loop
t=1:N
for i=1:length(t)
tao_s=
pic_s(i)=
end
plot(t,pic_s);
Also you can avoid the loop here (recomended)
N=.....
tao_s=(Tt1+N.*delta....)./ same . after N, like N.*
pic_s=tao_s.^.....
plot(1:N,pic_s)
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!