rad_to_deg (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: basic

Requires: MathScript RT Module

Syntax

c = rad_to_deg

Legacy Name: rad2deg

Description

Converts angles in radians to angles in degrees.

Details

Examples

Inputs

Name Description
a Specifies the angles in radians to convert. a is a real, double-precision, floating-point scalar, vector, or matrix.

Outputs

Name Description
c Returns the angles in degrees. c is a real, double-precision, floating-point scalar, vector, or matrix.

Details

c = a/pi*180.

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

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

Related Topics

deg_to_rad

文章是否对您有帮助?

没有帮助