Table Of Contents

rad_to_deg

Version:
    Last Modified: January 9, 2017

    Converts angles in radians to angles in degrees.

    Syntax

    c = rad_to_deg
    Legacy name: rad2deg

    Inputs

    a

    Angles in radians to be converted. a is a real, double-precision, floating-point scalar, or an array of any dimension.

    Outputs

    c

    Angles in degrees. c = a/pi*180. c is a real, double-precision, floating-point scalar, or an array of any dimension.

    A = -pi:0.1:pi;
    B = rad_to_deg(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics