How to calculate Tangent of angles in degree
9 views (last 30 days)
Show older comments
mr mo
on 8 Nov 2017
Commented: OMPABALETSE RAMETSE
on 21 Jun 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.
0 Comments
Accepted Answer
Star Strider
on 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 Comments
More Answers (0)
See Also
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!