diff options
author | Matt Argao <mcargao@email.wm.edu> | 2012-11-29 17:20:24 -0500 |
---|---|---|
committer | Matt Argao <mcargao@email.wm.edu> | 2012-11-29 17:20:24 -0500 |
commit | dfed0d0433eddf745f06253c816bdcae7d99ce5e (patch) | |
tree | 45f3a94765f8dfc59d9347e5a36843ac114fd601 | |
parent | b07d219465e3c2c54390f107ba19f02f6574e403 (diff) | |
download | mode_match-dfed0d0433eddf745f06253c816bdcae7d99ce5e.tar.gz mode_match-dfed0d0433eddf745f06253c816bdcae7d99ce5e.zip |
Reduced number of iterations
-rw-r--r-- | mode_match.m | 2 |
1 files changed, 1 insertions, 1 deletions
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; |