
matlab怎么实现最小二乘法
3个回答
展开全部
matlab有多种最小二乘法,最简单的最小二乘法是函数lsqlin,可用help lsqlin查看相关解释
它解决如下问题:
lsqlin Constrained linear least squares.
X = lsqlin(C,d,A,b) attempts to solve the least-squares problem
min 0.5*(NORM(C*x-d)).^2 subject to A*x <= b
x
它解决如下问题:
lsqlin Constrained linear least squares.
X = lsqlin(C,d,A,b) attempts to solve the least-squares problem
min 0.5*(NORM(C*x-d)).^2 subject to A*x <= b
x
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询