decomplexification of a matrix

Hi, I have the following matrix
A= [5 10;
-1 -1]
This matrix has two complex eigenvalues e = 2 +- i
I would like to obtain a matrix
T=[a -b;
b a]
using matlab.
manually the solution is
(-3 - i(1
1) 0)
and
P=[-3 1;
1 0];
Pinv=[0 1;
1 3]
and
Pinv*A*P=[2 -1;
1 2]
as the matrix T.
But how can I do it using matlab?
My best regards, jim

Réponses (1)

Image Analyst
Image Analyst le 6 Fév 2015

0 votes

Just like you have it. Did you try:
A= [5 10;
-1 -1]
P=[-3 1;
1 0]
Pinv=[0 1;
1 3]
T = Pinv*A*P
In the command window:
A =
5 10
-1 -1
P =
-3 1
1 0
Pinv =
0 1
1 3
T =
2 -1
1 2
If so, isn't that what you want? Or did you run into problems?

Catégories

En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by