Is there a way to solve complex-valued non-linear equations?
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Walter Roberson
2012 年 5 月 31 日
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.
その他の回答 (1 件)
Hossein
2016 年 6 月 10 日
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!