From 67fa755e143a0529d960d1a6fbd358b2a19f3d7d Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 25 Sep 2012 17:36:49 -0400 Subject: solution_visualization is now a function trial_solution modified appropriately so it calls solution_visualization --- trial_solution.m | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 trial_solution.m (limited to 'trial_solution.m') diff --git a/trial_solution.m b/trial_solution.m new file mode 100644 index 0000000..21e6b00 --- /dev/null +++ b/trial_solution.m @@ -0,0 +1,25 @@ +% ########################################## +lambda= 1.064E-6 ; +Ltot= 1.010675025828971 ; +r0= 1.0E+100 ; +w0= 2.563E-5 ; +x0= 0 ; +lns1.abcd=abcd_lens( 0.075 ) ; +lns1.x= 0.21358727296049 ; +lns2.abcd=abcd_lens( 0.075 ) ; +lns2.x= 0.40361319425309 ; +lns3.abcd=abcd_lens( 0.203 ) ; +lns3.x= 0.80361319425309 ; +wf= 3.709E-5 ; +rf= 1.0E+100 ; +xf= Ltot; + +optics={lns1,lns2,lns3}; +% ########################################## + +q0=wr2q(w0,r0,lambda); +x0=0; +qf=wr2q(wf,rf,lambda); +xf=Ltot; + +solution_visualization(q0,x0, qf, xf, optics, lambda) -- cgit v1.2.3