Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在matlab中找到最小的负特征值,从复特征值中,矩阵的所有条目都是复数的方阵(5,5)。答案应该是实值。那么我该如何在matlab中做到这一点?.
您无法比较复数。最多可以比较复数的大小。所以,min(abs(eig(A)))是正确的答案。如果你需要这个值的负数,只需加上一个负号
min(abs(eig(A)))
这是你需要的吗?
min(real(eig(A)));