필터 지우기
필터 지우기

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 CenterFile Exchange에서 AI for Signals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by