Matlab绘制普朗克公式曲线


1900年德国物理学家M.普朗克在量子论基础上建立了关于黑体辐射的正确公式,即普朗克公式。

在这里插入图片描述
它给出了辐射场能量密度按波长的分布,是热辐射理论的基本公式之一。

1.确定波长和温度区间。

t为[3500 4000 4500 5000 5500]K,
波长lamda为(1:10:5001).*10^(-9);

2.运行程序,结果如下。

在这里插入图片描述

3.源代码。

%% 波长版
clc,clear
 t=[3500 4000 4500 5000 5500];
lamda=(1:10:5001).*10^(-9);
[LAMDA T]=meshgrid(lamda,t);
 I_lamda=planck_lamda(LAMDA,T);
 % surf(LAMDA,T,I_lamda);
 for i=1:5
 plot(LAMDA(i,:),I_lamda(i,:),'Color',[i/6 i/6 i/6])
 hold on
 end
legend('3500K','4000K','4500K','5000K','5500K')

猜你喜欢

转载自blog.csdn.net/peter_young1990/article/details/114404696
今日推荐