matlab怎么实现最小二乘法

2022-08-07 教育 55阅读
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
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com