leastsq.m

来自「matlab最优化工具箱」· M 代码 · 共 12 行

M
12
字号
%LEASTSQ Non-linear least squares%%  x=leastsq('f',x0,options,'g') finds the value of x which minimizes %  the sum of squares of f(x) value. %  options is optional, giving the optimization arguments. If options%  is the empty matrix, default options are used.%  g(x) provides the optional gradient of the function f(x). Optional %  arguments may be provided to f by passing them to leastsq after 'g'.%%  Copyright (c) 1994-1999 by MathTools, Ltd.%  Built-in function.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?