degrees and radians

version (1.55 KB) by Richard Medlock
Two helper functions, one converts degrees to radians, the other rads to deg.


Updated 18 Aug 2009

View License

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 (2022). degrees and radians (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

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!