Least Square with condition

조회 수: 1 (최근 30일)
Harel Harel Shattenstein
Harel Harel Shattenstein 2018년 7월 5일
편집: Matt J 2018년 7월 5일
  댓글 수: 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에서 Linear Least Squares에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by