diff options
Diffstat (limited to 'find_min.m')
-rw-r--r-- | find_min.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/find_min.m b/find_min.m new file mode 100644 index 0000000..2c3ae7d --- /dev/null +++ b/find_min.m @@ -0,0 +1,8 @@ +function [ x_sol, energy ] = find_min( index, lens_placement, fitness_simplified, MaxFunEvals, MaxIter ) +%FIND_MIN Summary of this function goes here +% Detailed explanation goes here + + [x_sol, energy] = fminsearch(fitness_simplified, lens_placement(index,:), optimset('TolFun',1e-5,'MaxFunEvals',MaxFunEvals,'MaxIter', MaxIter)); + +end + |