资源简介
最小二乘法求解最优化问题
A solution is obtained by a Fletcher version of the Levenberg-Maquardt
algoritm for minimization of a sum of squares of equation residuals.
代码片段和文件信息
function [xf S cnt] = LMFsolve(varargin)
% Solve a Set of Overdetermined Nonlinear Equations in Least-Squares Sense.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% A solution is obtained by a Fletcher version of the Levenberg-Maquardt
% algoritm for minimization of a sum of squares of equation residuals.
%
% [Xf Ssq CNT] = LMFsolve(FUNXoOptions)
% FUN is a function handle or a function M-file name that evaluates
% m-vector of equation residuals
% Xo is n-vector of initial guesses of solution
% Options is an optional set of Name/Value pairs of control parameters
% of the algorithm. It may be also preset by calling:
% Options = LMFsolve(‘default‘) or by a set of Name/Value pairs:
% Options = LMFsolve(‘Name‘Value ... )
- 上一篇:kalman simuli
nk模板 - 下一篇:关于MATLAB的IIR滤波器
评论
共有 条评论