From ZCubes Wiki
Revision as of 13:54, 11 March 2019 by Devika (talk | contribs) (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
DIAG (Array)

  • is the set of values.
    • DIAG() shows the diagonal values in the given set of values.



  • is the set of values.
  • DIAG shows the diagonal values which means first row first element ,second row second element,third row third element and so on.
  • So will get the particular main diagonal values from the given set of any values.


1. DIAG([[10,15],[12,6]])

10 6

2. DIAG([[21,43,-56],[1,-6,-15],[2,3.2,8]])

21 -6 8

Related Videos

Diagonal Matrix

See Also