solve trigonometrical equations with input range

1 vue (au cours des 30 derniers jours)
pablolama
pablolama le 2 Fév 2019
Commenté : pablolama le 3 Fév 2019
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)

Réponse acceptée

Stephan
Stephan le 2 Fév 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 commentaires
pablolama
pablolama le 2 Fév 2019
<3
pablolama
pablolama le 3 Fév 2019
Hi starting from this code, i have to derive equations to time, to find angular velocity...
Shoul i use DIFF command?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by