solve trigonometrical equations with input range

1 view (last 30 days)
How to solve on matlab this system trignometric? I need the code
1.42*cos(alfa)+3.3*cos(beta)+3.33*cos(gamma)-6= 0
1.42*sin(alfa)+3.3*sin(beta)+3.33*sin(gamma)=0
with alfa=linspace(19.7, -103, 14)
(19.7 and 103 are in degrees)

Accepted Answer

Stephan
Stephan on 2 Feb 2019
Hi,
fsolve solves nonlinear systems. sind and cosd accept degrees as input arguments. Define your system like shown in the examples for fsolve and use a for loop to calculate the solutions for every needed value of alfa.
Best regards
Stephan
  23 Comments
pablolama
pablolama on 3 Feb 2019
Hi starting from this code, i have to derive equations to time, to find angular velocity...
Shoul i use DIFF command?

Sign in to comment.

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!