MATLAB: Function to get multiple results

fsolvefunctionnonlinear equations

Hello. My problem is that I want to solve the system of nonlinear equations and get all possible (or just few of them) results. But if I use fsolve, for example, I can't get more than one result. Is there any other functions to get multiple results? Or is there any other way to solve it? Thanks.

Best Answer

No, https://en.m.wikipedia.org/wiki/Riemann_hypothesis shows an example of a nonlinear function for which people have been working hard for over a century and still have problems figuring out how many roots it has, let alone finding the roots.
The situation can be different for specific nonlinear functions. Sometimes zeros can be found using methods from calculus, but those do not always work out.
Generally speaking, make an attempt with the symbolic toolbox and solve(), which is able deal with some categories of problems. But do not expect it to do well with trig problems.
Related Question