i have a code below which plot the first curve, please help me to change this code to plot the second curve
古いコメントを表示
beta = 0;
ind2 = 1;
for lambda=0.1:0.01:11.8
lambdai(ind2) = (1./((1./(lambda-0.02.*beta)+ (0.003./(beta^3+1)))));
Cp(ind2)=0.73.*(151./lambdai(ind2)-0.58.*beta-0.002.*beta^2.14-13.2).*(exp(-18.4./lambdai(ind2)));
Ct(ind2)=Cp(ind2)/lambda;
ind2=ind2+1;
end
tab_lambda=[0.1:0.01:11.8];
subplot(1,3,3)
plot(tab_lambda,Cp,'linewidth',1.5)
xlabel('lambda','fontsize',14)
ylabel('Cp','fontsize',14)
2 件のコメント
dpb
2021 年 1 月 10 日
What have you tried and where did you have a problem?
HINT: See
doc yyaxis
for some ideas, maybe...
rami shaker
2021 年 1 月 10 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
