Trigonometry
Sine, cosine, and related functions, with results in radians or degrees
The trigonometric functions in MATLAB® calculate standard trigonometric values in radians or degrees, hyperbolic
trigonometric values in radians, and inverse variants of each function. You can use the
rad2deg and deg2rad functions to convert between
radians and degrees, or functions like cart2pol to convert between
coordinate systems.