Hi there,(adsbygoogle = window.adsbygoogle || []).push({});

Could some one please tell me how can i solve this linear least square problem.

x*,w* = argmin[tex]_{x,w}[/tex]|| Gx - Mw ||[tex]^{2}_{2}[/tex]

subject to v[tex]_{k}[/tex] = c[tex]_{k}[/tex]; k = 1 ..... p

v[tex]_{k}[/tex] is the vertex

c is the constant

Here x and w are the unknowns.

G - is a 9m x 3n matrix - the coefficients here are known

x - is 3n x 1 matrix of unknown vertices

M - is 9m x 4 matrix the values are known here as well

w - is 4 x 1 matrix of unknown values

I have to solve for x and w. Any help would be really appreciated.

Thanks

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Solving Linear Least square

Loading...

Similar Threads - Solving Linear Least | Date |
---|---|

I Solving System of Equations w/ Gauss-Jordan Elimination | Sep 18, 2017 |

I Solving a system of linear equations using back substitution | Aug 30, 2017 |

How to solve a very large overdetermined system numerically? | May 8, 2015 |

LU solve for matrix with zeros on diagonal | Dec 9, 2014 |

Is there any Fortran code for solving such a linear system with least square method? | Oct 30, 2010 |

**Physics Forums - The Fusion of Science and Community**