Most software for linear algebra has specific commands for extracting the diagonal, upper triangular part, and lower triangular part of a matrix. Determine the corresponding commands for the software that you are using, and experiment with them.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.