Quaternion Function Reference

triu

Upper triangular part of matrix
(Quaternion and octonion overloadings of standard MATLAB® function)

Syntax

Y = triu(X, K)

Description

triu(X, K) extracts the upper triangular part of the matrix X. It is a straightforward overloading of the MATLAB® function of the same name implemented by a common mechanism for quaternion functions that can be computed by separate application of the MATLAB® function to each component of the quaternion array.

See Also

QTFM function: tril
MATLAB® function: triu

© 2008-2013 Stephen J. Sangwine and Nicolas Le Bihan

License terms.