Centering data in PCA - PC1 does not pass through 0
이전 댓글 표시
I've a question regarding the pca function. I'm using it on a [28x79] matrix and the resulting principal component coefficients are confusing me somewhat. According to the documentation, pca centers the column data by subtracting the mean. However, when I plot the coordinates of the coefficients of principal components 1-3 in state space (i.e x-axis contains principal component 1 (PC1), y-axis contains principal component 2 (PC2), z-axis contains principal component 3 (PC3), principal component 1 does not pass through 0. Instead the typical range is somewhere between [0.05 2]. Could you explain this? PC2 and PC3 behave as I would expect after centering, in that their range contains 0.
Thank you for your help.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!