If I have an nxn matrix, how do I compute it's j'th principal minor using matlab?
古いコメントを表示
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
回答 (1 件)
Ameer Hamza
2020 年 10 月 12 日
M; % nxn matrix
Mj = M(1:j,1:j)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!