SimulatedAnnealing:
--------------------------------------------------------------------------
Implements simulated annealing.
f = fun( x, d );
where f is the cost or 'energy'
Since version 7.
--------------------------------------------------------------------------
Form:
[xOpt, fPlot, err] = SimulatedAnnealing( fun, x, d, s )
--------------------------------------------------------------------------
------
Inputs
------
fun (1,:) Function to be optimized
x (:,1) Initial guess
d (1,1) Structure to pass to fun
s (1,1) Optional structure of parameters
-------
Outputs
-------
xOpt (:,1) Final estimate
fPlot (1,:) Cost plot
err (1,:) Error message
--------------------------------------------------------------------------
Children:
Common: Graphics/Plot2D