solve trigonometrical equations with input range

1 visualizzazione (ultimi 30 giorni)
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)

Risposta accettata

Stephan
Stephan il 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 Commenti
pablolama
pablolama il 3 Feb 2019
Hi starting from this code, i have to derive equations to time, to find angular velocity...
Shoul i use DIFF command?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by