Skip to content

Commit

Permalink
Update Transmission_FP_f.m
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentNevou authored May 12, 2020
1 parent a1250f8 commit 3859081
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Transmission_FP_f.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
function[T,R]=Transmission_FP_f(lambda,Gain,L,n1,n2,n3)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "Optoelectronic", Cambridge Books Online
% Prof. Emmanuel Rosencher,
% Complement to Chapter 9
% 9.D Fabry–Perot cavities and Bragg reflectors, page 434
% http://dx.doi.org/10.1017/CBO9780511754647.028
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

c=2.99792458e8; %% speed of light [m/s]
k=2*pi/lambda; %% wave vector [m-1]
w=2*pi*c/lambda; %% pulsation [s-1]
Expand Down Expand Up @@ -35,4 +43,4 @@
end

R = squeeze( abs( M(1,2,:)./M(2,2,:) ).^2 );
T = squeeze( n3/n1./abs(M(2,2,:)).^2 );
T = squeeze( n3/n1./abs(M(2,2,:)).^2 );

0 comments on commit 3859081

Please sign in to comment.