# 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

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

## 🔗 Voir aussi

[diag](https://github.com/Nelson-numerical-software/nelson-gitbook/blob/master/markdown/fr/elementary_functions/diag.md), [triu](https://nelson-9.gitbook.io/nelson/markdown/fr/elementary_functions/triu).

## 🕔 Historique

| Version | 📄 Description   |
| ------- | ---------------- |
| 1.0.0   | version initiale |
