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
2021년 6월 9일
One equation in three unknowns, especially when the complex exponentials are by definition periodic?
There are ∞ solutions!
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
2021년 6월 9일
Reza Lashani
2021년 6월 9일
답변 (1개)
David Hill
2021년 6월 9일
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
2021년 6월 9일
Which does nothing, because it just solves for one of the unknowns as a function of the other.
Reza Lashani
2021년 6월 9일
카테고리
도움말 센터 및 File Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!