4 Kommentare

Matt J
Matt J am 5 Jul. 2018
Which b? You have two.
Harel Harel Shattenstein
Harel Harel Shattenstein am 5 Jul. 2018
Bearbeitet: Harel Harel Shattenstein am 5 Jul. 2018
Fixed it
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

0 Stimmen

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