Using fsolve in Matlab to Solve a System of Trigonometric Equations

  • Thread starter yellowsubmari
  • Start date
  • Tags Tags
    System
2 replies · 2K views · last reply
yellowsubmari
Messages
2
Reaction score
0
Hello, would you tell me how to solve this system via Matlab:


sin(X1)+sin(X2)+sin(X3)+...+sin(Xn)=A
sin(2X1)+sin(2X2)+sin(2X3)+...+sin(2Xn)=B
sin(3X1)+sin(3X2)+sin(3X3)+...+sin(3Xn)=C
.
.
.
sin(nX1)+sin(nX2)+sin(nX3)+...+sin(nXn)=Z


where Х1,Х2,Х3,...,Хn=?
A,B,C,...,Z are numerical values,
n=24.

Thanks in advance.

P.S. I was told to use "fsolve" in Matlab, but I'm not familiar with this function. Help me, please in coding, or in solving with another method in Matlab.