計算光波由光密入射到光疏介質(zhì)時相位變化
t,4q]Jt 4\H:^U& clear
(1T2?mO >:%i,K*AM close all
QKDY:1] D642}VD n1=1.45,n2=1;
I8;pMr6 qOVs9'R theta=0:0.1:90;
Wky=]C% ?dP3tLR a=theta*pi/180;
)sWdN(E3 h7c8K)ntnf rp=(n2*cos(a)-n1*sqrt(1-(n1/n2*sin(a)).^2))./(n2*cos(a)+n1*sqrt(1-(n1/n2*sin(a)).^2));
Nc:, [8{l 4#MvOjA5[ rs=(n1*cos(a)-n2*sqrt(1-(n1/n2*sin(a)).^2))./(n1*cos(a)+n2*sqrt(1-(n1/n2*sin(a)).^2));
7d*SZmD
8`XT`H tp=2*n1*cos(a)./(n2*cos(a)+n1*sqrt(1-(n1/n2*sin(a)).^2));
QijEb 2T3v^%%j ts=2*n1*cos(a)./(n1*cos(a)+n2*sqrt(1-(n1/n2*sin(a)).^2));
\Q7Nz2X RbKAB8 arp=angle(rp);
)eop:!m :j)H;@[I ars=angle(rs);
Xm`jD'G UKMr,{iy atp=angle(tp);
qMD