Difference between revisions of "Manuals/calci/MATRIXDIAGONAL"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''MATRIXDIAGONAL (a)'''</div><br/> *<math> a </math> is any square matrix. ==Description== *This function shows the main diagonal values. *In <ma...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
*The main diagonal of a matrix consists of those elements that lie on the diagonal that runs from top left to bottom right. | *The main diagonal of a matrix consists of those elements that lie on the diagonal that runs from top left to bottom right. | ||
*Main diagonal is also called principal diagonal, primary diagonal, leading diagonal, or major diagonal. | *Main diagonal is also called principal diagonal, primary diagonal, leading diagonal, or major diagonal. | ||
− | *So main diagonal of a matrix A is defined by A is the collection of entries <math> | + | *So main diagonal of a matrix A is defined by A is the collection of entries <math>a_{i,j}</math>,where i=j. |
− | *Diagonal entries are <math> | + | *Diagonal entries are <math>a_{11},a_{22},a_{33}</math> and so on. |
==Examples== | ==Examples== | ||
− | + | # MATRIXDIAGONAL([[14,12],[13,15]]) = 14 15 | |
− | + | # MATRIXDIAGONAL([[1,2,3],[4,5,6],[9,8,6]]) = 1 5 6 | |
− | + | # MATRIXDIAGONAL([[5,8,12,13],[4,3,2,8],[7,2,5,3],[3,5,9,11]]) = 5 3 5 11 | |
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=Wc9DwLLXP8k|280|center|Diagonal Matrix}} | ||
==See Also== | ==See Also== |
Latest revision as of 13:18, 9 April 2019
MATRIXDIAGONAL (a)
- is any square matrix.
Description
- This function shows the main diagonal values.
- In , is any square matrix.
- The main diagonal of a matrix consists of those elements that lie on the diagonal that runs from top left to bottom right.
- Main diagonal is also called principal diagonal, primary diagonal, leading diagonal, or major diagonal.
- So main diagonal of a matrix A is defined by A is the collection of entries ,where i=j.
- Diagonal entries are and so on.
Examples
- MATRIXDIAGONAL([[14,12],[13,15]]) = 14 15
- MATRIXDIAGONAL([[1,2,3],[4,5,6],[9,8,6]]) = 1 5 6
- MATRIXDIAGONAL([[5,8,12,13],[4,3,2,8],[7,2,5,3],[3,5,9,11]]) = 5 3 5 11