Im trying to plot N(# of stages) vs pi_s(pressure ratio), but i only get one point.

 Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 9 Fév 2021
Modifié(e) : KALYAN ACHARJYA le 9 Fév 2021

0 votes

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)

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by