Table Of Contents

tril

Version:
    Last Modified: March 15, 2017

    Returns the lower triangular part of a matrix.

    Syntax

    c = tril(a)
    c = tril(a, b)

    Inputs

    a

    Matrix.

    b

    Diagonal in a. b is an integer.

    Outputs

    c

    Lower triangular part of a. If you specify b and b is not equal to 0, c returns all elements of a on and below the bth diagonal. c is a matrix of the same size as a.

    A = [1-i, 3+4i; 5-7i, -i];
    C = tril(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics