Why matlab only fives one complex result?
Show older comments
Hello everyone, I have been struggling for so much time...
I have been doing a complex equation (I am actually able to solve it manually but I just want to ger more familiar with Matlab). There are 3 complex solutons, however, matlab only gives me one of them. What can I do so that it gives me all 3 solutions?
I have been doing a complex equation (I am actually able to solve it manually but I just want to ger more familiar with Matlab). There are 3 complex solutons, however, matlab only gives me one of them. What can I do so that it gives me all 3 solutions?Accepted Answer
More Answers (1)
Sai Bhargav Avula
on 30 Oct 2019
Edited: Sai Bhargav Avula
on 30 Oct 2019
Hi,
MATLAB cannot generate all the Solutions, which might require a global solver.
However, if you have the Extended Symbolic Math Toolbox (access to Maple), then you can do this in Maple.
maple('_EnvAllSolutions:= true;')
This can give a generic result for the equation provided
2 Comments
Walter Roberson
on 30 Oct 2019
This is misleading. Producing all of the solutions does not require a global solver.
Sai Bhargav Avula
on 30 Oct 2019
It might require different intilizations to get all the solutions. So I suggested this.
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!