Determinant of Matrices using the Leibniz formula recursively

Version 1.1.0.0 (1.7 KB) by daniele
Calculate the determinant of any symbolic square matrix
432 Downloads
Updated 22 Jul 2014

View License

This in-house function is able to evaluate the determinant of any symbolic square matrix reducing the computational cost and fastening the process when compared to the MATLAB built-in det(A) function.
The function uses the Leibniz formula for determinants recursively in order to calculate the determinant as the sum of the determinants of 2x2 matrices.
I have tested it with a full 10x10 symbolic matrix and it worked perfectly whereas using det(A) the computer ran out of memory and stopped the calculation.

Cite As

daniele (2025). Determinant of Matrices using the Leibniz formula recursively (https://www.mathworks.com/matlabcentral/fileexchange/47306-determinant-of-matrices-using-the-leibniz-formula-recursively), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Change of title and tags

1.0.0.0