How to set as preferences radiant instead of degrees?

15 views (last 30 days)
I've degrees as standard on Matlab but i don't want to change every time each angle from degrees to radiant, how I can set radiant as preferences?

Answers (1)

Star Strider
Star Strider on 18 Mar 2024
Functions have their own defined preferences. For example polarplot, sin, cos, tan, and most others require radian angle arguments, and those that specify degree arguments (or outputs) usually have ‘d’ as part of their function name, such as sind, cosd and tand. The argument type is specific to the function (most often radians unless otherwise specified in the documentation for the function), and not a general MATLAB setting.

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!