Least Square with condition

1 次查看(过去 30 天)
  4 个评论
Matt J
Matt J 2018-7-5
编辑:Matt J 2018-7-5
Looks like your Vandermonde matrix is flipped left-to-right. Or your [a,b,c] vector is upside down.
Matt J
Matt J 2018-7-5
编辑:Matt J 2018-7-5
Note: instead of eliminating 'c', you could also just use lsqlin() with an equality constraint.

请先登录,再进行评论。

采纳的回答

Matt J
Matt J 2018-7-5
Seems to me that B should equal y.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Solver Outputs and Iterative Display 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by