diff options
-rw-r--r-- | fresnel_reflection.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fresnel_reflection.m b/fresnel_reflection.m index db3b637..0e6dfdc 100644 --- a/fresnel_reflection.m +++ b/fresnel_reflection.m @@ -1,11 +1,12 @@ function [R, theta_t] = fresnel_reflection(n1, n2, theta_i) %% calculates intensity reflection coefficient for s and p polarizations %% for light travelling from material with index of refraction n1 to material with n2 -%% theta_i - incident index of refraction +%% theta_i - incident angle in medium 1 with respect to normal %% R - coefficients of reflection array [Rs, Rp] +%% theta_t - transmitted/refracted angle in medium 2 with respect to normal %% see http://en.wikipedia.org/wiki/Fresnel_equations - %% refracstion angle or angle of transmitted beam with respect to normal + %% refraction angle or angle of transmitted beam with respect to normal sin_theta_t=n1/n2*sin(theta_i); if ( abs(sin_theta_t) >= 1) |