MATLAB: Solution of a system non linear equations

fsolveMATLAB

I have a system of 10 non linear equation. I am tring to solve it by using fsolve.But the problem is that , which gives me one answer. On the other hand Mathematica gives me so many answer among those answer, there is answer I am looking for, which unforunately not given by MATLAB. Perhaps the problem is that tolerance function of fsove is e^{-6}, it may help if I could increase that. Does any one has an idea how to work with it?

Best Answer

If your system of equations has multiple solutions, fsolve() can only give you a single solution based on the initial point x0. One way is to try different initial points until the desired solution is found, but for a high-dimensional system, this approach can be very inefficient.
The other solution is to use symbolic toolbox and use solve() of vpasolve() functions. These functions are capable of finding multiple solutions to a system of equations.