det
Compute the matrix determinant.
Syntax
d = det(x)
[d,rcond] = det(x)
Inputs
- x
- A square matrix.
Outputs
- d
- The determinant.
- rcond
- An estimate of the condition number reciprocal.
Example
[d,rcond]=det([1,2,3;5,6,8;5,4,7])
d = -10
rcond = 0.02222222222