degrees and radians
Version 1.1.0.0 (1.55 KB) by
Richard Medlock
Two helper functions, one converts degrees to radians, the other rads to deg.
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Two simple functions to save time writing out the code to do a degrees to radians calculation or vice versa.
Cite As
Richard Medlock (2024). degrees and radians (https://www.mathworks.com/matlabcentral/fileexchange/3263-degrees-and-radians), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Programming > Functions >
Find more on Functions in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: deg2rad and rad2deg conversion functions
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.