# imag

Version:

Returns the imaginary parts of the input elements.

## Syntax

c = imag(a)

## a

Scalar or array of any dimension of numeric or Boolean values.

## c

Imaginary parts of the elements in a. c is an array of the same size as a.

## Real Input

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

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

Where This Node Can Run:

Desktop OS: Windows

FPGA: DAQExpress does not support FPGA devices