Least Square with condition

1 Ansicht (letzte 30 Tage)
Harel Harel Shattenstein
Harel Harel Shattenstein am 5 Jul. 2018
Bearbeitet: Matt J am 5 Jul. 2018
  4 Kommentare
Matt J
Matt J am 5 Jul. 2018
Bearbeitet: Matt J am 5 Jul. 2018
Looks like your Vandermonde matrix is flipped left-to-right. Or your [a,b,c] vector is upside down.
Matt J
Matt J am 5 Jul. 2018
Bearbeitet: Matt J am 5 Jul. 2018
Note: instead of eliminating 'c', you could also just use lsqlin() with an equality constraint.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Matt J
Matt J am 5 Jul. 2018
Seems to me that B should equal y.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by