Skip to content

Instantly share code, notes, and snippets.

@alstat
Created June 8, 2013 06:18
eigen(matrix1)
$values
[1] 11.238947 -2.088872 -1.150075
$vectors
[,1] [,2] [,3]
[1,] -0.6017346 -0.3458537 -0.4307244
[2,] -0.3305706 -0.5288292 0.8445517
[3,] -0.7270754 0.7750644 -0.3181336
eigen(matrix2)
$values
[1] 18.020246+0.000000i -0.510123+1.767726i -0.510123-1.767726i
$vectors
[,1] [,2] [,3]
[1,] 0.5729619+0i -0.4414068-0.3843531i -0.4414068+0.3843531i
[2,] 0.5495930+0i 0.6888097+0.0000000i 0.6888097+0.0000000i
[3,] 0.6079985+0i -0.2537249+0.3443799i -0.2537249-0.3443799i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment