If I have an nxn matrix, how do I compute it's j'th principal minor using matlab?
Show older comments
If I have an nxn matrix, how do I compute it's j'th principal minor using matlab?
the j'th principal minor is the jxj matrix in n consisting of the first j rows and columns
Answers (1)
Ameer Hamza
on 12 Oct 2020
M; % nxn matrix
Mj = M(1:j,1:j)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!