From dfed0d0433eddf745f06253c816bdcae7d99ce5e Mon Sep 17 00:00:00 2001 From: Matt Argao Date: Thu, 29 Nov 2012 17:20:24 -0500 Subject: Reduced number of iterations --- mode_match.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode_match.m b/mode_match.m index 443412a..0a36332 100644 --- a/mode_match.m +++ b/mode_match.m @@ -30,7 +30,7 @@ end parfor i = 1:N fitness_simplified=@(x) fitness(q0, qf, Ltot, x, possible_lens_set(i,:), lambda ); - [x_sol, energy]=fminsearch(fitness_simplified, initial_rand_lens_placement(i,:), optimset('TolX',1e-8,'TolFun',1e-8,'MaxFunEvals',1e8,'MaxIter',200)); + [x_sol, energy]=fminsearch(fitness_simplified, initial_rand_lens_placement(i,:), optimset('TolFun',1e-5,'MaxFunEvals',1e8,'MaxIter',200)); possible_lens_placement(i,:) =x_sol; possible_sample_energy(i) = energy; -- cgit v1.2.3