How to calculate Tangent of angles in degree

5 ビュー (過去 30 日間)
mr mo
mr mo 2017 年 11 月 8 日
Hi. I have a vector of angles in degrees. My question is how can I calculate the Tangent of these angles ?
Angles = [ 40 45 41 43 80 70 60]
Thanks for your help.

採用された回答

Star Strider
Star Strider 2017 年 11 月 8 日
Use the tand function:
Angles = [ 40 45 41 43 80 70 60];
TandAngles = tand(Angles)
or:
TanAngles = tan(Angles * pi/180)
  6 件のコメント
mr mo
mr mo 2017 年 11 月 8 日
Thanks a lot.
OMPABALETSE RAMETSE
OMPABALETSE RAMETSE 2021 年 6 月 21 日
This helped me. THANKS

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by