Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

tril (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: linalgebra

Requires: MathScript RT Module

Syntax

c = tril(a)

c = tril(a, b)

Description

Returns the lower triangular part of a matrix.

Examples

Inputs

Name Description
a Specifies a matrix.
b Specifies a diagonal in a. b is an integer.

Outputs

Name Description
c Returns the 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.

Examples

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

Related Topics

triu


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit