clc
clear
W1=0.076;
L1=0.076;
b1=0.03;
Vfr1=14/2118.88199311;
Ac1=W1*b1;
U1=(1/2)*(Vfr1/Ac1);
Tint=25+273;
Tc=15+273;
teta1=Tint-Tc;
kair1=0.0263;
vair1=15.89*10^-6;
Prair1=0.707;
roal=2702;
kal=177;
Lc1=L1/2;
Re1=(U1*Lc1)/vair1;
zopt1=Lc1*3.24*(Re1^(-1/2))*(Prair1^(-1/4));
h1=(kair1/Lc1)*0.664*(Re1^(1/2))*(Prair1^(1/3));
n=1;
T1matris = [];
for t1=0.00001:0.00001:0.002
nf1=W1/(zopt1+t1);
beta1=b1*sqrt((2*h1)/(kal*t1));
verimf1=(tanh(beta1))/beta1;
Af1=2*(L1+t1)*b1;
At1=nf1*(Af1+(L1*zopt1));
over1=1-((nf1*Af1)/At1)*(1-verimf1);
qtot1=over1*At1*h1*teta1;
T1matris(1,n)=t1;
T(n,1)=t1;
T(n,2)=nf1;
T(n,3)=qtot1;
n=n+1;
filename='heatsink.xlsx';
end
xlswrite(filename,T,1,'A2');
How do I plot this code?

댓글 수: 1

dpb
dpb 2018년 10월 15일
What do you want to plot against what?

댓글을 달려면 로그인하십시오.

 채택된 답변

Daryun
Daryun 2018년 10월 16일
편집: Daryun 2018년 10월 16일

0 개 추천

Plot(t1, qtot1, 'o' )

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2018년 10월 15일

편집:

2018년 10월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by