[TOC]

det

Matrix determinant

Usage

det(A)

Example

Input
A = randi(10,4,4)
B = randi(10,4,4)
det(A*B)
det(A)*det(B)
Output
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