This question is closed. Reopen it to edit or answer.

Solving non linear equation system.

1 view (last 30 days)
Alberto Bolzoni
Alberto Bolzoni on 9 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
I'm trying to solve this system:
with this procedure:
but I obtain an error. Could you please help me? Thank you.

Answers (1)

Michael Haderlein
Michael Haderlein on 9 Apr 2015
fsolve needs a function which has only one variable. Therefore, you need to change your definition to
The rest of your code is fine.
Michael Haderlein
Michael Haderlein on 9 Apr 2015
As Torsten said, there's no such function as far as I know. However, when I had the similar problem, I just typed in all the equations with the "natural" variable names in a blank file and then replaced the variable names by x(1), x(2) and so on (press ctrl+h). It's less likely to type in errors this way.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!