aboutsummaryrefslogtreecommitdiff
path: root/solution_visualization.m
diff options
context:
space:
mode:
Diffstat (limited to 'solution_visualization.m')
-rw-r--r--solution_visualization.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/solution_visualization.m b/solution_visualization.m
index e3c0b71..6eebae6 100644
--- a/solution_visualization.m
+++ b/solution_visualization.m
@@ -3,16 +3,16 @@ function waste_at_the_end = solution_visualization(q0,x0, qf, xf, optics, lambda
x=linspace(x0,xf,1000); % we will calculate beam profile between x0 and xf
-fprintf('======== Forward propagation ======\n')
+%fprintf('======== Forward propagation ======\n')
q_forward=gbeam_propagation(x,q0,x0,optics);
[w_forward,r_forward]=q2wr(q_forward, lambda);
-fprintf('======== Backward propagation =====\n')
+%fprintf('======== Backward propagation =====\n')
q_backward=gbeam_propagation(x,qf,xf,optics);
[w_backward,r_backward]=q2wr(q_backward, lambda);
-fprintf('========= Plotting ================\n')
+%fprintf('========= Plotting ================\n')
plot ( ...
x,w_forward, '-r', ...
x,-w_forward, '-r', ...