diff options
author | Matt Argao <mcargao@email.wm.edu> | 2012-10-18 16:23:40 -0400 |
---|---|---|
committer | Matt Argao <mcargao@email.wm.edu> | 2012-10-18 16:23:40 -0400 |
commit | 0564d364c58758dcf61ebe5cad14b47c474ee57c (patch) | |
tree | bf6a09bb93211824829b89d77274e223d401d571 /solution_visualization.m | |
parent | 9773dd0f1a6f9941a9a3ec5308bd3845d77bcf52 (diff) | |
download | mode_match-0564d364c58758dcf61ebe5cad14b47c474ee57c.tar.gz mode_match-0564d364c58758dcf61ebe5cad14b47c474ee57c.zip |
First attempt at automatic optimization.
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 |