Making determinant zero

12 次查看(过去 30 天)
Soumitro Das
Soumitro Das 2012-6-19
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?

回答(2 个)

Sean de Wolski
Sean de Wolski 2012-6-19
How about the quick and shoddy numerical way?
x = magic(4);
fzero(@(y)det(x.*y),pi)

Walter Roberson
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)

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by