MATLAB File Help: cv.DownhillSolver/DownhillSolver Index
cv.DownhillSolver/DownhillSolver

Creates a DownhillSolver object.

solver = cv.DownhillSolver()
solver = cv.DownhillSolver('OptionName', optionValue, ...)

Options

All the parameters are optional, so this procedure can be called even without parameters at all. In this case, the default values will be used. As default value for terminal criteria are the only sensible ones, ObjectiveFunction and InitStep should be set upon the obtained object, if the respective parameters were not given in the constructor. Otherwise, the two ways (give them to ctor or miss them out and set the ObjectiveFunction and InitStep properties) are absolutely equivalent (and will drop the same errors in the same way, should invalid input be detected).