Making determinant zero
조회 수: 11 (최근 30일)
이전 댓글 표시
Hello,
I am stuck with a n by n matrix (4 by 4 actually) which has variables in it. I need to find values of that variable for which determinant of the matrix becomes zero, i.e. the matrix becomes singular. I need a numerical analysis in MATLAB. Can anyone help?
댓글 수: 0
답변 (2개)
Sean de Wolski
2012년 6월 19일
How about the quick and shoddy numerical way?
x = magic(4);
fzero(@(y)det(x.*y),pi)
댓글 수: 0
Walter Roberson
2012년 6월 19일
A symbolic analysis would be easier. For example,
syms y
x = sym(magic(4));
x(1,3) = 7+y^2;
x(4,2) = cos(y);
solve(det(x),y)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!