Eigen value and eigen vector of symbolic block matrix
4 次查看(过去 30 天)
显示 更早的评论
clc
syms a51 a53 a54 a56 a62 a65 a67 a68 a71 a73 a74 a76 a81 a83 a84 a86 e
A= zeros(4);
B=eyes(4);
C=[a51 0 a53 a54; 0 a62 0 0;a71 0 a73 a74;a81 0 a83 a84];
F=[ 0 a56 0 0;a65 0 a67 a68;0 a76 0 0;0 a76 0 0];
G=[A;B;C;D]
[V,D]=eig(A)
I want to find all eigen values and eigen vectors of block matrix G. If I used code [V,D]=eig(A), its takes lot of times and not return any result.
if there any code to solve this type of matrix in less time. plz help
;
7 个评论
Sulaymon Eshkabilov
2021-5-19
A = zero(4);
And you are trying to compute:
eig(A) that is equivalent of: eig(zero(4))
回答(1 个)
Sulaymon Eshkabilov
2021-5-19
THere are a few errs that need to be fixed before computing eigen values and vectors.
syms a51 a53 a54 a56 a62 a65 a67 a68 a71 a73 a74 a76 a81 a83 a84 a86 e
A= zeros(4);
B=eye(4);
C=[a51 0 a53 a54; 0 a62 0 0;a71 0 a73 a74;a81 0 a83 a84];
F=[ 0 a56 0 0;a65 0 a67 a68;0 a76 0 0;0 a76 0 0];
G=[A, B;C, F]
[V,D]=eig(G)
doc eig % Get some good help from MATLAB documentation library.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!