For a matrix ,
the determinant of (denoted by ``'')
is defined as

Let be an square matrix in general.
Then we can define the submatrix by ``deleting the th row and th column
of '', denoted by .
Observing that 's are
square matrices,
the determinant of is given recursively by

In Matlab/Octave the function det(A) is called to
compute the determinant for a square matrix .