文档帮助中心
本页对应的英文页面已更新,但尚未翻译。 若要查看最新内容,请点击此处访问英文页面。
最小二乘问题有两种类型。
线性最小二乘求解 min||C*x - d||2,可能有边界或线性约束。请参阅 线性最小二乘。
非线性最小二乘求解 min(∑||F(xi) – yi||2),其中 F(xi) 是一个非线性函数,yi 是数据。请参阅 非线性最小二乘(曲线拟合)。
显示求解数据拟合问题的几种方法的基本示例。
Basic example of nonlinear least squares using the problem-based approach.
Fit parameters on an ODE using problem-based least squares.
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office