Computational cost for Cramer's rule

version 1.1 (70.2 KB) by Zoltán Csáti
Demonstrate the huge cost of Cramer's rule on a system of linear equations.


Updated Sun, 19 Apr 2015 08:05:13 +0000

View License

COST4CRAMER Operation cost for Cramer's rule.
[M A] = COST4CRAMER(N,METHOD) returns the number of multiplicative (M)
and additive (A) operations required for solving a system of linear
equations with N unknowns. The computational cost is determined by
METHOD, being either 'recursive' or 'explicit'.

Cite As

Zoltán Csáti (2022). Computational cost for Cramer's rule (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
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!