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 Exchange 中查找有关 Numerical 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