detMatrix determinant
det(A)A is a square numeric matrix, which can be real or complex.A.det(A) * det(B) == det(A * B). Here, A and B are randomly generated matrices.A = randi(10,4,4)
B = randi(10,4,4)
det(A*B)
det(A)*det(B)
A =
6.0000 8.0000 10.000 9.0000
3.0000 2.0000 9.0000 5.0000
5.0000 7.0000 7.0000 5.0000
4.0000 6.0000 9.0000 9.0000
B =
7.0000 8.0000 8.0000 8.0000
2.0000 3.0000 7.0000 1.0000
1.0000 8.0000 6.0000 10.000
4.0000 5.0000 10.000 3.0000
ans =
9234.0
ans =
9234.0