File Exchange

image thumbnail

Cofactor Matrix Generator

version 1.1 (1.47 KB) by

Generates a matrix of cofactor values for an M-by-N matrix.

4 Downloads

Updated

View License

COF=COF(A) generates matrix of cofactor values for an M-by-N matrix
A : an M-by-N matrix

Example: Find the cofactor matrix for A.

A = 1 3 1
1 1 2
2 3 4

>>cof=cof(A)

cof =

-2 0 1
-9 2 3
5 -1 -2

Comments and Ratings (3)

Rita Maria

Jaye

Jaye (view profile)

Updates

1.1

Fixed a sign that generated wrong cofactor for some values.

MATLAB Release
MATLAB 7.11 (R2010b)
Acknowledgements

Inspired: Co-factor Matrix Evaluation

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video