Eigen value and eigen vector of symbolic block matrix

7 views (last 30 days)
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 Comments
Sulaymon Eshkabilov
Sulaymon Eshkabilov on 19 May 2021
A = zero(4);
And you are trying to compute:
eig(A) that is equivalent of: eig(zero(4))

Sign in to comment.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 19 May 2021
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.
  1 Comment
ASHA RANI
ASHA RANI on 19 May 2021
I tried a lot from mathworks doc , but dont get any idea.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by