Why is PCA returning only one component when I have 50 variables?

조회 수: 4 (최근 30일)
Kim
Kim 2014년 8월 20일
I am trying to use PCA in Matlab 2013. I have 50 variables with 52 observations for each. In the example given in documentation there is a component (as I understand each column of coefficients is a component) for each variable. When I do (coeffs, scores)=pca(data) I only get one column of coefficients with 52 rows. Can anyone explain what I am doing wrong please? Thanks!

답변 (0개)

카테고리

Help CenterFile 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!

Translated by