This function returns the vector x=[x1,...xn] that results in the minimum
objective function value for the given function. Inputs are the function
fcn, the initial x0, the gradient approximation method (1= central diff,
2=fwd. diff.), n for the golden section search, the convergence tolerance
epsilon, and the maximum number of iterations, nmax.
Note that the golden section search is very sensitive to n.
引用格式
Sean Wu (2024). Conjugate gradient optimizer (https://www.mathworks.com/matlabcentral/fileexchange/50141-conjugate-gradient-optimizer), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2014b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Get Started with Optimization Toolbox 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!