cofactors

This is a function that computes the cofactors of an n x n matrix

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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