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 ;)

 Réponse acceptée

Walter Roberson
Walter Roberson le 18 Juil 2011

0 votes

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.

Plus de réponses (1)

giuseppe
giuseppe le 19 Juil 2011

0 votes

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

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by