<< tril Matrix - shaping Matrix operations >>

Scilab Help >> Elementary Functions > Matrix - shaping > triu

triu

upper triangle

Description

Upper triangle. See tril.

Examples

s=poly(0,'s');
triu([s,s;s,1])
triu([1/s,1/s;1/s,1])

See also


Report an issue
<< tril Matrix - shaping Matrix operations >>