-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFresn_Refl.m
More file actions
31 lines (27 loc) · 859 Bytes
/
Fresn_Refl.m
File metadata and controls
31 lines (27 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
function result = Fresn_Refl(eps,theta)
% // calculates Fresnel reflectivities of v and h-polarizations at given set
% // of incidence angles.
% var result = new Array();
% var rho = [];
% var one=Math.Complex(1.,0.);
one = complex(1.,0.);
rho = refl_coef(theta, one, eps);
result(1) = norm(rho(1));
result(2) = norm(rho(2));
% return result;
end
% //************************************************************
% function Fresn_Refl(eps,theta) {
% // calculates Fresnel reflectivities of v and h-polarizations at given set
% // of incidence angles.
% var result = new Array();
% var rho = [];
% var one=Math.Complex(1.,0.);
%
% rho = refl_coef(theta, one, eps);
%
% result[0] = rho[0].norm();
% result[1] = rho[1].norm();
%
% return result;
% }