Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual
Version:

    Generates an identity matrix. An identity matrix has ones on the main diagonal and zeros elsewhere.

    Syntax

    c = eye
    c = eye(n)
    c = eye(m, n)

    Inputs

    m

    Number of rows for the identity matrix. m is an integer.

    n

    Number of columns for the identity matrix. n is an integer.

    Outputs

    c

    Identity matrix with m rows and n columns. c = eye returns a 1. c = eye(n) returns an n-by-n matrix.