how to find all possible stationary points of a system of nonlinear equations

3 vues (au cours des 30 derniers jours)
Randy Chen
Randy Chen le 15 Nov 2022
Modifié(e) : Torsten le 16 Nov 2022
I stumbled across this seemingly simple problem:
I tried using fsolve, but I can only pass in a single initial guess. Is there a smart way to do this?

Réponses (1)

Torsten
Torsten le 15 Nov 2022
Modifié(e) : Torsten le 16 Nov 2022
Your equation could become stationary if
2*x + y = pi/2 or pi + pi/2 or 2*pi+pi/2 or ... or 6*pi+pi/2
3*x + 2*y = pi/3 or pi+pi/3 or 2*pi+pi/3 or ... or 10*pi+pi/3
So solve the 7*11 possible linear systems and select those solutions for x and y for which 0<=x<=2*pi, 0<=y<=2*pi.
I get 4 solutions.

Community Treasure Hunt

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

Start Hunting!

Translated by