# rad2deg

## PURPOSE

RAD2DEG Convert angles from radians to degrees

## SYNOPSIS

function angleInDegrees = rad2deg(angleInRadians)

## DESCRIPTION

     RAD2DEG Convert angles from radians to degrees

       RAD2DEG has been replaced by RADTODEG.

       angleInDegrees = RAD2DEG(angleInRadians) converts angle units from
       radians to degrees.

## CROSS-REFERENCE INFORMATION

This function calls:

This function is called by:

## SOURCE CODE

    0001 function angleInDegrees = rad2deg(angleInRadians)
    0002 % RAD2DEG Convert angles from radians to degrees
    0003 %
    0004 %   RAD2DEG has been replaced by RADTODEG.
    0005 %
    0006 %   angleInDegrees = RAD2DEG(angleInRadians) converts angle units from
    0007 %   radians to degrees.
    0008
    0009 % Copyright 2007-2008 The MathWorks, Inc.
    0010 % $Revision: 1.9.4.5 $  $Date: 2009/04/15 23:16:46 $
    0011
    0012 angleInDegrees = (180/pi) * angleInRadians;