fminsearch_(funfcn,x0,options,varargin)
Versione 1.1.0.0 (2,8 KB) da
Kenneth Johnson
Works around a bug (or design defect) in fminsearch.
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.
Cita come
Kenneth Johnson (2024). fminsearch_(funfcn,x0,options,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/57284-fminsearch_-funfcn-x0-options-varargin), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Nonlinear Optimization in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.