diff options
Diffstat (limited to 'stability_visualization.m')
-rw-r--r-- | stability_visualization.m | 3 |
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 |