Using fsolve in Matlab to Solve a System of Trigonometric Equations

  • Thread starter Thread starter yellowsubmari
  • Start date Start date
  • Tags Tags
    System
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
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.
 
Physics news on Phys.org