imag (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

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

Owning Class: basic

Requires: MathScript RT Module

Syntax

c = imag(a)

Description

Returns the imaginary parts of the input elements.

Details

Examples

Inputs

Name Description
a Specifies a numeric scalar, vector, or matrix.

Outputs

Name Description
c Returns the imaginary parts of the elements in a. c is a scalar, vector, or matrix of the same size as a.

Details

If a is real, imag(a) = zeros(size(a)).

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 Yes

Examples

A = [2.12+0.97i; 6.4-3.32i]
C = imag(A)

Related Topics

real

文章是否对您有帮助?

没有帮助