
Math Software Math Software  Mathematica, Matlab, Calculators, Graphing Software 
 LinkBack  Thread Tools  Display Modes 
May 2nd, 2016, 08:43 AM  #1 
Newbie Joined: May 2016 From: Germany Posts: 1 Thanks: 0  Matlab LeastSquares Solution of Underdetermined System
Hello folks. I'm trying to port some Matlab code into C language. Currently I stuck on what Matlab defines as "LeastSquares Solution of Underdetermined System". What I need is to understand is an algorithm behind that solution. An example from Matlab documentation: Solve a system of linear equations, A*x = b Given A and b, calculate x = A\b A: 1 2 0 0 4 3 b: 8 18 x = A\b Resulting x: 0.0000 4.0000 0.6667 I realize that there should be some kind of approximation / iteration? 

Tags 
leastsquares, matlab, solution, system, underdetermined 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Solving Nonlinear System using Matlab  xsw001  Differential Equations  1  August 30th, 2014 04:16 PM 
Need MATLAB solution  fahadans  Linear Algebra  1  November 21st, 2013 11:29 PM 
Nonlinear equation system in Matlab  Orient Blue  Applied Math  6  May 9th, 2010 08:15 AM 
matlab: numerical solution with solve('f(x)','x')  astroblem  Math Software  2  January 7th, 2010 06:32 AM 
QUESTION on a reduced residue system consisting of squares.  shangwen_ren  Number Theory  1  September 28th, 2009 10:59 AM 