pca function automatically mean-centers

Hi
It looks as if the pca function automatically mean-centers the data. Is this the case and if so how can I override this? I want to center my data using the median or group means.
Thanks Marì

回答 (1 件)

Shashank Prasanna
Shashank Prasanna 2014 年 7 月 3 日

1 投票

You are right, by default PCA centers the data. You can however ask PCA not to do that:
Set the name value pair, 'Centered' to false.

カテゴリ

ヘルプ センター および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

質問済み:

2014 年 7 月 3 日

回答済み:

2014 年 7 月 3 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by