Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Help with solving nonlinear equations

Subject: Help with solving nonlinear equations

From: Chen

Date: 26 Aug, 2010 13:19:04

Message: 1 of 2

Dear all,

       My problem is like this: I have much more equations than the number of unknowns. For example: I have 100000 nonlinear equations but only have 25 unknowns. There is no way to get 25 unknowns that would exactly satisfy those 100000 equations. I tried blackslash operator (\) which uses least squares method, but it does not work well enough.

      Does anybody know any other method? Thanks in advance:)



-Chen

Subject: Help with solving nonlinear equations

From: Alan Weiss

Date: 26 Aug, 2010 13:27:13

Message: 2 of 2

On 8/26/2010 9:19 AM, Chen wrote:
> Dear all,
>
> My problem is like this: I have much more equations than the number of
> unknowns. For example: I have 100000 nonlinear equations but only have
> 25 unknowns. There is no way to get 25 unknowns that would exactly
> satisfy those 100000 equations. I tried blackslash operator (\) which
> uses least squares method, but it does not work well enough.
>
> Does anybody know any other method? Thanks in advance:)
>
>
>
> -Chen

lsqnonlin from the Optimization Toolbox.

Alan Weiss
MATLAB mathematical toolbox documentation

Tags for this Thread

What are tags?

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.

Contact us