フィルターのクリア

A line is not appearing when I graph

1 回表示 (過去 30 日間)
Elizabeth Frenzel
Elizabeth Frenzel 2023 年 6 月 6 日
回答済み: KSSV 2023 年 6 月 6 日
clear
D=0.05; %m
V_Ice=10; %m^3
T_mi=24;%C
Ts=0;%C
f_vi=0.8;%
N=10; %Tubes
L=1.55 ;%m
m_dot=0.005:0.05; %kg/s
roh_ice=920; %kg/m^3
Q=3.34*10^5; %J/kg
cp=1007; %J/kg*K
h_bar=22.3; %W/m^2*K
T_mo=Ts-(Ts-T_mi)*exp(((-pi*D*L)/(m_dot*cp))*h_bar) ;%C
T_mo(T_mo==0)=[];
figure
plot(m_dot,T_mo)
xlabel('mass flow rate')
xlim([0.005 0.05])
ylim('auto')
ylabel('T_m,o')
title('Out-put Temperature of Air vs Mass Flow Rate of Air')

採用された回答

KSSV
KSSV 2023 年 6 月 6 日
D=0.05; %m
V_Ice=10; %m^3
T_mi=24;%C
Ts=0;%C
f_vi=0.8;%
N=10; %Tubes
L=1.55 ;%m
m_dot=linspace(0.005,0.05); %kg/s % <------- changed here. Earlier it was a scalar
roh_ice=920; %kg/m^3
Q=3.34*10^5; %J/kg
cp=1007; %J/kg*K
h_bar=22.3; %W/m^2*K
T_mo=Ts-(Ts-T_mi)*exp(((-pi*D*L)./(m_dot*cp))*h_bar) ;%C
T_mo(T_mo==0)=[];
figure
plot(m_dot,T_mo)
xlabel('mass flow rate')
xlim([0.005 0.05])
ylim('auto')
ylabel('T_m,o')
title('Out-put Temperature of Air vs Mass Flow Rate of Air')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAI for Signals についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by