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.
For a
matrix:
For larger matrices, the determinant can be computed using cofactor expansion:
where
is the minor of element
💡 Example
A = [10 -20 40; -50 20 0; 10 0 30]
D = det(A)
🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?