powered by
Creates the polar/Jordan form of the P and D matrices after performing eigenvalue decomposition where the eigenvalue values are complex.
polar(P,D)
P the polar form (real-valued) matrix of eigenvectors.
D the polar form (real-valued) matrix of eigenvalues.
: the eigenvectors from an eigenvalue decomposition.
: the eigenvalues from an eigenvalue decomposition.
Kyle Caudle
Randy Hoover
Jackson Cates
z <- complex(real = rnorm(16), imag = rnorm(16)) M <- matrix(z,nrow=4) decomp <- eigen(M) polar(decomp$vectors,decomp$values)
Run the code above in your browser using DataLab