Principal Component Analysis (Princomp)
Show older comments
I am using the function princomp and I obtain different results(i.e. SCORES) when I am using Matlab 2009b and Matlab 2012b. Does anyone know why this difference?Thank you in advance.
1 Comment
Shashank Prasanna
on 22 Jan 2013
Check the release notes to see if there have been any differences:
Answers (1)
Tom Lane
on 24 Jan 2013
0 votes
Are there just some columns whose signs differ between the two SCORES matrices? That can happen as a result of a change in svd or some other MATLAB matrix computation, and it should not affect your results. For example, the first component is the linear subspace of maximum variance, but you can represent that line by a vector pointing in either direction from the origin.
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!