tril

Lower triangular part of matrix

📝 Syntaxe

  • T = tril(M)

  • T = tril(M, k)

📥 Argument d'entrée

  • M - 2D input matrix

  • k - Diagonals to include: integer real value

📤 Argument de sortie

  • R - Lower Triangular Portions of Matrix

📄 Description

tril computes Lower Triangular Portions of Matrix.

R = tril(M, k) returns the elements on and above the kth diagonal of M.

💡 Exemple

x = [1+i,-i;i,2i];
r = tril(x)

🔗 Voir aussi

diag, triu.

🕔 Historique

Version
📄 Description

1.0.0

version initiale

Last updated

Was this helpful?