Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Elementary Functions > Matrix operations > 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

  • tril — lower triangular part of matrix
  • ones — matrix made of ones
  • eye — identity matrix
  • diag — diagonal including or extracting
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:34 CEST 2016