Runing PCA under Matlab 2015a give me wrong aswer
1 view (last 30 days)
Show older comments
Hello,
load hald
coeff = pca(ingredients)
should be:
coeff =
-0.0678 -0.6460 0.5673 0.5062
-0.6785 -0.0200 -0.5440 0.4933
0.0290 0.7553 0.4036 0.5156
0.7309 -0.1085 -0.4684 0.4844
But, what I get is:
coeff =
36.8218 6.8709
29.6073 -4.6109
-12.9818 4.2049
23.7147 6.6341
-0.5532 4.4617
-10.8125 3.6466
-32.5882 -8.9798
22.6064 -10.7259
-9.2626 -8.9854
-3.2840 14.1573
9.2200 -12.3861
-25.5849 2.7817
-26.9032 2.9310
I am using Matlab 2015a.
whats wrong here?
0 Comments
Answers (0)
See Also
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!