MATLAB: How to solve least square equation

MATLAB: How to solve least square equation

equationleast-squareMATLABmatrix equation

Hello.
I am trying to find a best solution to the equation: i = F*c1 + P*c2 + C*c3, where i, F, P and C are measured 7317×1 matrices – how would this be approached? Least squares?
Thanks on advance

Best Answer

  • c123 = [F(:), P(:), C(:)] i(:);
    c1 = c123(1); c2 = c123(2); c3 = c123(3);
  • Add a Comment

    Your email address will not be published. Required fields are marked *