Is there a way to solve complex-valued non-linear equations?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ahmed
le 31 Mai 2012
Réponse apportée : Hossein
le 10 Juin 2016
Hi guys,
I'm trying to solve a set of complex-valued non-linear equations, but I found that "fsolve" solves only real-valued equations. Is there another function that solves comlpex-valued equations? Or is there any way around it?
Thanks,
0 commentaires
Réponse acceptée
Walter Roberson
le 31 Mai 2012
You can use fsolve. Split each complex-valued output into two outputs, the real() and imag().
You can do the same sort of thing for each complex-valued input.
Plus de réponses (1)
Hossein
le 10 Juin 2016
fsolve in some cases cannot solve the equation. try fzero, fminsearch and fminunc as well. Hopefully, fzero helps you (this function may affect better than others).
0 commentaires
Voir également
Catégories
En savoir plus sur Optimization dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!