pca function automatically mean-centers
8 views (last 30 days)
Show older comments
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ì
0 Comments
Answers (1)
Shashank Prasanna
on 3 Jul 2014
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.
0 Comments
See Also
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!