Least square error optimum problem

Hi all ;) That's the problem to solve: i have this set of equations...
c = verti_dot(1);
c + a = verti_dot(2);
c + 2a = verti_dot(3);
...
c + k(2a + b) = verti_dot(1 + 3k);
c + a + k(2a + b) = verti_dot(2 + 3k);
c + 2a + k(2a + b) = verti_dot(3 + 3k).
where verti_dot(i) is a known value.
...and this is what i have to do: "...there is an overcomplete set of equations (with only three unknowns). Solving the equations using standard normal equations yields the least square error optimum a, b and c ..."
How can i do that ?!? Please someone help me. Thanks ;)

 採用された回答

Walter Roberson
Walter Roberson 2011 年 7 月 18 日

0 投票

Does k(2a + b) represent k*(2*a + b) or does it represent k subscripted at (2*a + b) ?
Anyhow, sounds like a use for the \ operator.

その他の回答 (1 件)

giuseppe
giuseppe 2011 年 7 月 19 日

0 投票

Hi. k(2a + b) represent k*(2*a + b). Can you please show me the way? Thanks so much ;)

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by