cdf2rdf
Convert complex diagonal form to real block diagonal form
Description
[
transforms the outputs of Vnew
,Dnew
] = cdf2rdf(V
,D
)[V,D] = eig(X)
or [V,D] =
eigs(X,___)
for real matrices X
from complex diagonal form to
real diagonal form. This operation transforms how the eigenvalues of X
are expressed in D
, and transforms V
such that
X*Vnew = Vnew*Dnew
.
In complex diagonal form,
D
is a diagonal matrix with complex conjugate pairs of eigenvalues on the main diagonal:Some of the eigenvalues along the diagonal might be real, but complex conjugate eigenvalue pairs are assumed to be next to one another.
In real diagonal form,
Dnew
has real eigenvalues on the diagonal, and complex eigenvalues are expressed as 2-by-2 real blocks along the main diagonal: