fminsearch_(funfcn,​x0,options,varargin​)

Works around a bug (or design defect) in fminsearch.
151 Downloads
Aktualisiert 23. Mai 2016

Lizenz anzeigen

The standard fminsearch function uses an unreliable and faulty method for setting the initial x step, e.g. as illustrated by the case fminsearch(@(x) (x-1)^2,1e-3). (The return value is close to zero.) fminsearch_ provides user control of the x step, and uses a more reliable default, e.g. fminsearch_(@(x) (x-1)^2,1e-3) returns 1.

Zitieren als

Kenneth Johnson (2024). fminsearch_(funfcn,x0,options,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/57284-fminsearch_-funfcn-x0-options-varargin), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2016a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Nonlinear Optimization finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Version 1.1: Added varargin{:} to fminsearch arguments.

1.0.0.0