Principal Component Analysis (Princomp)
2 次查看(过去 30 天)
显示 更早的评论
I am using the function princomp and I obtain different results(i.e. SCORES) when I am using Matlab 2009b and Matlab 2012b. Does anyone know why this difference?Thank you in advance.
1 个评论
回答(1 个)
Tom Lane
2013-1-24
Are there just some columns whose signs differ between the two SCORES matrices? That can happen as a result of a change in svd or some other MATLAB matrix computation, and it should not affect your results. For example, the first component is the linear subspace of maximum variance, but you can represent that line by a vector pointing in either direction from the origin.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!