Command Reference : Matrix Language Reference
  
 
@det
Determinant of matrix.
Syntax: @det(m)
m: matrix, sym
Return: number
Calculate the determinant of the square matrix or sym, m.
The determinant is nonzero for a nonsingular matrix and 0 for a singular matrix.
Examples
matrix m1 = @mnrnd(10, 4)
scalar sc1 = @det(m1)
computes the determinant of the matrix M1.
sym s1 = @inner(m1)
vec4(2) = @det(s1)
computes the determinant of the symmetric matrix S1.
Cross-references
See also @rank.