Reputation: 57
How to translate this MATLAB code
[W LA] = eig(Matrix)
in to R code, I have this
w= eigen(Matrix)$vectors
But how to obtain the ‘LA’ matrix
Upvotes: 1
Views: 545
Reputation: 11
LA= eigen(Matrix)$values %*% diag(length(Matrix))