cofactors

This is a function that computes the cofactors of an n x n matrix
882 Downloads
Updated 10 Sep 2010

View License

When a user enters an n x n matrix eg. A=[1 1 1; 3 1 -1; 2 1 -1] the function computes the corresponding cofactors.

Cite As

Gordon Amoako (2026). cofactors (https://www.mathworks.com/matlabcentral/fileexchange/28672-cofactors), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0.0

I only did a preallocation of the array. I am going to take a look at Sean's suggestions.

1.0.0.0