フィルターのクリア

Finding the minor and cofactor for a matrix using matlab

26 ビュー (過去 30 日間)
Vickie Guzman
Vickie Guzman 2019 年 2 月 14 日
回答済み: KSSV 2019 年 2 月 14 日
I am having trouble finding the minors of a matrix using matlab I currently solved it by hand I just need to check my answers.
I need this in order to solve for the inverse
when solving for the inverse I did...
>> A=[693 -1053 1161; -4606 210 -42; -238 1470 294];
>> B=[20; 4; 65];
>> x=1/-96012*A*B
%where -96012 is my determinant for the original matrix
x =
-0.8865
0.9791
-0.2107
my code worked but I am not sure if that is how you properly solve for the inverse. I solved the minors, cofactors and transpose by hand that is how I got my new matrix
Any suggestions?
Thank you for your time.

回答 (1 件)

KSSV
KSSV 2019 年 2 月 14 日

カテゴリ

Help Center および File ExchangeOperating on Diagonal Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by