MATLAB Answers

Solve Nonlinear complex equation

1 view (last 30 days)
Reza Lashani
Reza Lashani on 9 Jun 2021
Commented: Reza Lashani on 9 Jun 2021
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 Comments
Reza Lashani
Reza Lashani on 9 Jun 2021
This equation is a physical equation based on a mechanism. Obtained by vector loop method. It should have a meaningful answer.

Sign in to comment.

Answers (1)

David Hill
David Hill on 9 Jun 2021
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 Comments
Reza Lashani
Reza Lashani on 9 Jun 2021
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by