假设我有一个矩阵,我已经找到了特征值并将其插入。例如
A =[4 -2; -2 1]
我用什么来得到特征向量[2; 1]
?有eig()
这似乎从一开始就将其作为特征值方程来求解。矩阵A只是一个例子。我需要求解一个更大的 6x6 矩阵,该矩阵已经插入了特征值。我希望问题很清楚
最佳答案
您可以使用[V,D] = eig(A)
.
[V,D] = eig(___)
returns two optional outputs for any of the previous input syntaxes. D is a diagonal matrix containing the eigenvalues. V is a matrix whose columns are the corresponding right eigenvectors.
关于MATLAB:查找特征向量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22438456/