where square-matrix is a square numeric matrix. The VECDIAG function creates a column vector whose elements are the main diagonal elements of square-matrix. For example, the statements ...