MATLAB Answers


how to find 3 unknown from 2 equation by iteration?

Asked by fabila
on 7 Sep 2011

*hello I have two equation but three unknowns.Is there any matlab code or iteration procedure to find solution? the equtions look like:



a,b,c,d are known and I'm looking to find x1,x2,x3 Thank you in advance for any sugestion.*



No tags are associated with this question.


No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 7 Sep 2011

Assign a random value to one of the variables; it will then become an ordinary simultaneous linear equation.

There is no one "right" solution to a problem with more unknowns than equations, not unless there are additional constraints (for example if it is an integer programming problem.)


Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!