Octave已知偏振角和出射光强度,求入射光强度
广告
{{v.name}}
8. 马吕斯定律
\(I = I_0\cos^2\theta\)
核心公式:
马吕斯定律描述了线偏振光通过偏振片后的光强变化。
已知偏振角θ和出射光强度I,即可求出入射光强度I0。
Octave计算方法
已知参数:
- 偏振角 θ(度,示例值:30°)
- 出射光强度 I(示例值:75 W/m²)
代码如下:
function I0 = incident_intensity(theta_deg, I)
theta_rad = deg2rad(theta_deg); I0 = I / (cos(theta_rad))^2;
end
调用示例:
% 已知偏振角和出射光强度,求入射光强度theta = 30; I = 75;I0 = incident_intensity(theta, I);fprintf('入射光强度 I0 = %.2f W/m²', I0);
运行结果:
入射光强度 I0 = 100.00 W/m²