Table Of Contents

complex

Version:
    Last Modified: January 9, 2017

    Constructs a complex matrix.

    Syntax

    c = complex(a)
    c = complex(a, b)

    Inputs

    a

    Real parts of the complex elements. a is a real scalar or a real array of any dimension.

    b

    Imaginary parts of the complex elements. b is a real scalar or real array of the same size as a.

    Outputs

    c

    Complex matrix. c = complex(a) returns the elements of a as complex numbers.

    A = [1, 2, 3, 4]
    B = [0, -2, -3, 9]
    C = complex(A, B)
    X = 1
    Y = [1, 2, 3, 4]
    Z = complex(X, Y)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics