Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

imag (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the basic class.

Syntax

c = imag(a)

Description

Returns the imaginary parts of the input elements.

Details

Examples

Inputs

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

Outputs

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

Details

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

Examples

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

Related Topics

real


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit