Effacer les filtres
Effacer les filtres

Symbolic Trig equations between interval

1 vue (au cours des 30 derniers jours)
Amir Patel
Amir Patel le 17 Août 2012
Hi
I have a question regarding Matlab Symbolic and trig equations.
I have a trig equation with various symbolic variables. I would like to solve the equation by including bounds on the angle.
For example, when I currently try to solve for the angle 'x', I obtain two solutions. Sometimes when I have quadratic equations, I end up with 4 solutions.
Is there an elegant way to include the bounds? Eg. if 'x' lies from pi/2 to 2*pi, I only want the solutions to be in those quadrants.
Thanks in advance
Amir

Réponse acceptée

Star Strider
Star Strider le 17 Août 2012
I'm not sure you can constrain the solution to specific quadrants, but you can constrain the solution to an extent. See Name-Value Pair Arguments, particularly 'MaxDegree' and 'PrincipalValue' in solve.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by