solve trigonometrical equations with input range

1 回表示 (過去 30 日間)
pablolama
pablolama 2019 年 2 月 2 日
コメント済み: pablolama 2019 年 2 月 3 日
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)

採用された回答

Stephan
Stephan 2019 年 2 月 2 日
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 件のコメント
pablolama
pablolama 2019 年 2 月 2 日
<3
pablolama
pablolama 2019 年 2 月 3 日
Hi starting from this code, i have to derive equations to time, to find angular velocity...
Shoul i use DIFF command?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by