How to calculate Tangent of angles in degree

7 vues (au cours des 30 derniers jours)
mr mo
mr mo le 8 Nov 2017
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.

Réponse acceptée

Star Strider
Star Strider le 8 Nov 2017
Use the tand function:
Angles = [ 40 45 41 43 80 70 60];
TandAngles = tand(Angles)
or:
TanAngles = tan(Angles * pi/180)
  6 commentaires
mr mo
mr mo le 8 Nov 2017
Thanks a lot.
OMPABALETSE RAMETSE
OMPABALETSE RAMETSE le 21 Juin 2021
This helped me. THANKS

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices 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