How to calculate Tangent of angles in degree

5 visualizaciones (últimos 30 días)
mr mo
mr mo el 8 de Nov. de 2017
Comentada: OMPABALETSE RAMETSE el 21 de Jun. de 2021
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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Trigonometry en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by