No BSD License  

Highlights from
Principal components analysis (PCA)

1.0

1.0 | 1 rating Rate this file 12 Downloads (last 30 days) File Size: 2.68 KB File ID: #20898

Principal components analysis (PCA)

by Siqing Wu

 

29 Jul 2008 (Updated 31 Jul 2008)

Principal components analysis (PCA)

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
30 Jul 2008 Dimitri Shvorob

This earlier submission seems to be more comprehensive: http://www.mathworks.co.uk/matlabcentral/fileexchange/loadFile.do?objectId=17915&objectType=file
Redundant?

30 Jul 2008 Siqing Wu

Hi, Dimitri Shvorob

Basically I think the purposes of my code and that toolbox are a little different, e.g. if you have a bunch of features and wanna reduce the dimensionality of the dataset, maybe this single code is a little more straightforward and easy to use.

Regards,

30 Jul 2008 Siqing Wu

BTW, I found I forgot to correct one testing line (though it won't do anything wrong)... Since it takes one or two days to make the updated file posted, You may want to change "D = [D./max(D); zeros(N-nc,1)];" to "D = D/max(D);" Sorry about this.

Please login to add a comment or rating.
Updates
31 Jul 2008

One line of testing code was not deleted in the first version.

31 Jul 2008

One line of testing code was not deleted in the first version.

Tag Activity for this File
Tag Applied By Date/Time
statistics Siqing Wu 22 Oct 2008 10:12:18
probability Siqing Wu 22 Oct 2008 10:12:18
principal components analysis Siqing Wu 22 Oct 2008 10:12:18
eigenvalue Siqing Wu 22 Oct 2008 10:12:18
pca Siqing Wu 22 Oct 2008 10:12:18
pca Md. Ali 04 Jan 2012 02:42:57

Contact us at files@mathworks.com