Principal components analysis (PCA)
Version 1.0.0.0 (1.31 KB) by
Siqing Wu
Principal components analysis (PCA)
4.5K Downloads
Updated
31 Jul 2008
No License
Do principal components analysis (PCA) on real-valued data.
Two methods are available: 'eig' and 'svd' which solve the problem by eigenvalue decomposition and singula value decomposition, respectively. Please note that 'svd' is running in 'economy' mode.
Cite As
Siqing Wu (2026). Principal components analysis (PCA) (https://www.mathworks.com/matlabcentral/fileexchange/20898-principal-components-analysis-pca), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Dimensionality Reduction and Feature Extraction >
Find more on Dimensionality Reduction and Feature Extraction in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | One line of testing code was not deleted in the first version. |
