MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Nonlinear Least Squares problem 

I'm working on solving a system of nonlinear equations in MATLAB. Currently I am able to solve a system of 3 equations with 3 unknowns using Newton's method (with a jacobian, etc). What I want to do is take 4 or more equations (still with 3 unknowns) and solve them, but when I do, the jacobian is nonsquare, therefore not invertable (also not compatible with the backslash operation). Does anybody have any ideas on how to go about soving this? Here are my equations, 'i' going from 1 to the number of equations I want. The knowns are a,b,and theta and the unknowns are x, y, and phi. 
Subject: Nonlinear Least Squares problem From: Miroslav Balda Date: 29 Jan, 2009 21:32:02 Message: 2 of 6 
"AJ Smith" <ajsmith_15@hotmail.com> wrote in message <glst9p$dql$1@fred.mathworks.com>... 
Subject: Nonlinear Least Squares problem From: Roger Stafford Date: 29 Jan, 2009 22:37:02 Message: 3 of 6 
"AJ Smith" <ajsmith_15@hotmail.com> wrote in message <glst9p$dql$1@fred.mathworks.com>... 
Subject: Nonlinear Least Squares problem From: Roger Stafford Date: 29 Jan, 2009 23:04:02 Message: 4 of 6 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <gltb2e$cgt$1@fred.mathworks.com>... 
Subject: Nonlinear Least Squares problem From: Roger Stafford Date: 30 Jan, 2009 02:07:01 Message: 5 of 6 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <gltb2e$cgt$1@fred.mathworks.com>... 
Thanks for the help everyone, I'll give those methods a shot! 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.