MATLAB: How to find a complement minor in a matrix

complement minor

how to find a complement minor in a matrix

Best Answer

Just apply the det() command to the appropriate sub-matrix, e.g.,
A=rand(4);
compMinor = det( A([1,3,4],[1,2,4]) )
The setdiff() command might also be helpful in finding the appropriate sub-matrix indices.