Solve Nonlinear complex equation

Hello everybody How can I solve th equation below for X1 and X2 in MATLAB?
For more information, one of Ci's should be found by calcualtion and input in this equation other Ci's are known. Thank You for your help

4 件のコメント

Star Strider
Star Strider 2021 年 6 月 9 日
One equation in three unknowns, especially when the complex exponentials are by definition periodic?
There are solutions!
John D'Errico
John D'Errico 2021 年 6 月 9 日
As Star says, you cannot solve this in any meaningful way. You can pick ANY arbitrary value for X1, and then there will still be infinitely many solutions for X2.
Reza Lashani
Reza Lashani 2021 年 6 月 9 日
No it has not three unknowns. It just has two unknowns all Ci's are pre-defined or pre-calculated.
Reza Lashani
Reza Lashani 2021 年 6 月 9 日
This equation is a physical equation based on a mechanism. Obtained by vector loop method. It should have a meaningful answer.

サインインしてコメントする。

回答 (1 件)

David Hill
David Hill 2021 年 6 月 9 日

0 投票

syms c1 c2 c3 c4 c5 c6 x1 x2;
eqn=c1*exp(1i*x1)+c2*exp(1i*c3)-c4*exp(1i*c5)+x2*exp(1i*c6)==0;
a=solve(eqn,x1);
b=solve(eqn,x2);

2 件のコメント

John D'Errico
John D'Errico 2021 年 6 月 9 日
Which does nothing, because it just solves for one of the unknowns as a function of the other.
Reza Lashani
Reza Lashani 2021 年 6 月 9 日
Thanks David. But as John says it doesn't find the values of Xi's, just find the relation of X1 as a function of X2 and vice versa

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSystems of Nonlinear Equations についてさらに検索

質問済み:

2021 年 6 月 9 日

コメント済み:

2021 年 6 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by