summaryrefslogtreecommitdiff
path: root/stability_visualization.m
diff options
context:
space:
mode:
authorMatt Argao <mcargao@email.wm.edu>2013-02-11 14:52:09 -0500
committerMatt Argao <mcargao@email.wm.edu>2013-02-11 14:52:49 -0500
commitdba855e1a5dc601972d4d42ac870b04e4ba68340 (patch)
tree00f7499da82db1d7872be64fe64b0c40e75dfd60 /stability_visualization.m
parente866ad9a02cd9fc55d9a27cd90cc9598ce894be5 (diff)
downloadmode_match-dba855e1a5dc601972d4d42ac870b04e4ba68340.tar.gz
mode_match-dba855e1a5dc601972d4d42ac870b04e4ba68340.zip
Added energy vs stability summary
Diffstat (limited to 'stability_visualization.m')
-rw-r--r--stability_visualization.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/stability_visualization.m b/stability_visualization.m
index 86d3836..1bd3ba3 100644
--- a/stability_visualization.m
+++ b/stability_visualization.m
@@ -1,4 +1,4 @@
-function [hist_h, hist_x] = stability_visualization( possible_lens_placement_uniq, q0, qf, xf, optics_position, optics_set, lambda, n, n_hist, index )
+function [stability] = stability_visualization( possible_lens_placement_uniq, q0, qf, xf, optics_position, optics_set, lambda, n, n_hist, index )
%STABILITY_VISUALIZATION Summary of this function goes here
% Detailed explanation goes here
@@ -12,6 +12,7 @@ for i=1:n
str_n = ['# of test points = ', num2str(n_hist)];
str_a = ['Area under curve = ', num2str(area)];
title({'Solution Stability'; str_n; str_a});
+ stability(i) = area;
end
end