summaryrefslogtreecommitdiff
path: root/fitter_check.m
diff options
context:
space:
mode:
Diffstat (limited to 'fitter_check.m')
-rw-r--r--fitter_check.m7
1 files changed, 6 insertions, 1 deletions
diff --git a/fitter_check.m b/fitter_check.m
index 20a7e9d..51e1480 100644
--- a/fitter_check.m
+++ b/fitter_check.m
@@ -30,7 +30,12 @@ xf=Ltot;
for n_graph = 1:n_possible_lens_placement
figure(n_graph)
w_final_trial = solution_visualization(q0,x0, qf, xf, optics_placer(possible_lens_placement(index(n_graph),:), possible_lens_set(index(n_graph),:)), lambda);
- title('Other Solutions');
+
+ str1=sprintf('\n f_1 = %0.4f, x_1 = %0.4f\n',possible_lens_set(index(n_graph),1),possible_lens_placement(index(n_graph),1));
+ str2=sprintf('f_2 = %0.4f, x_2 = %0.4f\n',possible_lens_set(index(n_graph),2),possible_lens_placement(index(n_graph),2));
+ str3=sprintf('f_3 = %0.4f, x_3 = %0.4f\n',possible_lens_set(index(n_graph),3),possible_lens_placement(index(n_graph),3));
+ tstr='Other Solutions';
+ title([tstr, str1, str2, str3]);
end
possible_lens_placement(index(1:n_graph),:)