det

Navigation:  Language Reference > Functions > Matrix >

det

Previous pageReturn to chapter overviewNext page

Syntax

y = det(A);

or

Y = |A|;

Description

Returns the determinant of the square matrix A.

Examples

A = [1,2;3,ramp(1)];

y = det(A);

Limitations

A must be a square matrix, y must be a scalar.