diff options
Diffstat (limited to 'solution_visualization.m')
-rw-r--r-- | solution_visualization.m | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/solution_visualization.m b/solution_visualization.m index b886722..e3c0b71 100644 --- a/solution_visualization.m +++ b/solution_visualization.m @@ -1,4 +1,4 @@ -function solution_visualization(q0,x0, qf, xf, optics, lambda) +function waste_at_the_end = solution_visualization(q0,x0, qf, xf, optics, lambda) @@ -20,13 +20,8 @@ plot ( ... x, -w_backward, '-.b') legend({'forward propagation', '', 'backward propagation', ''}) -fprintf('======= final check =============\n') -fprintf('following are desired values: \n') - -fprintf('======= after propagation ========\n') -fprintf('values below should match wf and rf: \n') [waste_at_the_end,radius_at_the_end] = q2wr(q_forward(end), lambda); -waste_at_the_end -radius_at_the_end +%waste_at_the_end +%radius_at_the_end |