<< pol2cart Trigonometric functions sec >>

rad2deg


Convert angle from radians to degrees.


Syntax


d = rad2deg(r)

Input argument


r

a numeric value (double or single)

Output argument


d

a numeric value

Description


d = rad2deg(r) converts angle units from radians to degrees for each element of r.

Example


dist = 7194;
radEarth = 6371;
D = rad2deg(dist / radEarth)

See also


deg2rad.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< pol2cart Trigonometric functions sec >>