Guilin Sun
Ansys Employee
arg = 2*pi*real(neff)/la0*L;
ang1 = arg - floor(real(neff)/la0*L)*2*pi;
ang2 = ang1(1);
T = 0.25*abs(exp(-1i*ang1 - 2*pi*imag(neff)/la0*L) + exp(-1i*ang2 - 2*pi*imag(neff(1))/la0*L))^2;
乘以复数i是为了考虑传播的位相问题, 2*pi*imag(neff)/la0*L是吸收部分。