Clear Filters
Clear Filters

PCA, svd, compare two groups.

3 views (last 30 days)
sas0701
sas0701 on 26 Feb 2014
Hi,
I have group 1 with 25x2000 (i.e. 25 variables and 2000 samples)
[u,s,v]=svd(group1) gives me u=25x25, s = 25x2000 and v = 2000 x 2000.I also have 1 princomp that explains most of the variance.
I want to now project group2 (12 x 2000) into the group1 space to see if the 1 princomp from group1 seperates the two groups.
Does this make sense?
Please correct me if there is another way of doing this..
S

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!