Why doesn't the minor matrix match?
이전 댓글 표시
Please check my script
I'm working on an assignment to find the determinant using minor. I'm confused why minor doesn't match with the result, so that the final result is not same as the original determinant
syms L
disp('----------------------------------------------------------------');
% Use minors to expand the above determinant:
A = [2-L 8 10;8 4-L 5;10 5 7-L];
disp(A)
disp('x is lambda');
disp('----------------------------------------------------------------');
M11 = A([2,3],[2,3])
M12 = A([2,1],[2,3])
M13 = A([2,1],[2,2])
DM = A(1,1)*det(M11)-A(1,2)*det(M12)+A(1,3)*det(M13)
det(M11)
det(A)
please help me
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!