How to calculate Tangent of angles in degree

조회 수: 5 (최근 30일)
mr mo
mr mo 2017년 11월 8일
댓글: OMPABALETSE RAMETSE 2021년 6월 21일
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 CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by