Table Of Contents

imag

Version:
    Last Modified: December 12, 2016

    Returns the imaginary parts of the input elements.

    Syntax

    c = imag(a)

    Inputs

    a

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

    Outputs

    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


    Recently Viewed Topics