diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-11 13:42:30 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-11 13:42:30 -0400 |
commit | 80f6d6a223ee96d93d64baec3f3a5ab2329ed763 (patch) | |
tree | ed0ea6317e5b896fb575050337d9c999fd908668 | |
parent | 91138586517684aca2bdf4e86824fb2a42d9abe6 (diff) | |
download | wgmr-80f6d6a223ee96d93d64baec3f3a5ab2329ed763.tar.gz wgmr-80f6d6a223ee96d93d64baec3f3a5ab2329ed763.zip |
fix typos
-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) |