Principal Component Analysis (PCA) in MATLAB

This is a demonstration of how one can use PCA to classify a 2D data set.
ダウンロード: 22.5K
更新 2009/6/1

ライセンスの表示

This is a demonstration of how one can use PCA to classify a 2D data set. This is the simplest form of PCA but you can easily extend it to higher dimensions and you can do image classification with PCA

PCA consists of a number of steps:
- Loading the data
- Subtracting the mean of the data from the original dataset
- Finding the covariance matrix of the dataset
- Finding the eigenvector(s) associated with the greatest eigenvalue(s)
- Projecting the original dataset on the eigenvector(s)

Note: MATLAB has a built-in PCA functions. This file shows how a PCA works

引用

Siamak Faridani (2024). Principal Component Analysis (PCA) in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/24322-principal-component-analysis-pca-in-matlab), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0