convert value from radian form to degree form

3 views (last 30 days)
hi i wanna convert numbers from degree form to radian form. how can i do that?tnx

Accepted Answer

Steven Lord
Steven Lord on 25 Nov 2021
See the deg2rad function.

More Answers (1)

James Tursa
James Tursa on 25 Nov 2021
Edited: James Tursa on 25 Nov 2021
If you have values, then just
number_in_radians = number_in_degrees * (pi/180);
If you are working with trig functions, note that there are both degree and radian versions of these functions. E.g.,
sin( ), sind( ), asin( ), asind( ), etc.

Categories

Find more on Trigonometry 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!