Refactoring
This commit is contained in:
6
Matlab/reflectivity.m
Normal file
6
Matlab/reflectivity.m
Normal file
@@ -0,0 +1,6 @@
|
||||
function R = reflectivity(th, psi, n1, n2)
|
||||
theta_refl = th_r(th, n1, n2);
|
||||
R = (tan(th - theta_refl).^2 ./ tan(th + theta_refl).^2) .* ...
|
||||
cos(psi).^2 + ...
|
||||
(sin(th - theta_refl).^2 ./ sin(th + theta_refl).^2) .* sin(psi).^2;
|
||||
end
|
||||
Reference in New Issue
Block a user