MATLAB Answers

Principal Component Analysis for feature extraction

24 views (last 30 days)
farheen asdf
farheen asdf on 3 Jun 2016
Commented: Aya Ahmed on 4 Apr 2020
Hi. I'm learning about PCA and wanted to learn how it can be used for feature extraction and if it is feasible to extract features using PCA? Also I don't understand when exactly is PCA used in image processing. From what I understand it is used to reduce the size of a dataset and then features are extracted from that dataset using some other methods such as GLCM. Am I correct?

Answers (1)

deepak panday
deepak panday on 10 Jan 2018
[coff,score]=pca(data) newData = data*coff(:,1:n)
where n is number of feature to selected.

Community Treasure Hunt

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

Start Hunting!

Translated by