det

Matrix determinant.

Syntax

  • res = det(x)

Input argument

  • x - a numeric value: scalar or square matrix (double or single)

Output argument

  • res - real or complex number (double or single), the determinant base 10.

Description

res = det(x) returns the determinant of square matrix x.

Example

A = [10 -20 40; -50 20 0; 10 0 30]
D = det(A)

See also

rcond.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated