Principal Component Analysis (Princomp)

2 views (last 30 days)
Thanos
Thanos on 22 Jan 2013
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.

Answers (1)

Tom Lane
Tom Lane on 24 Jan 2013
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

Tags

Community Treasure Hunt

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

Start Hunting!