princomp and svd are different?

1 次查看(过去 30 天)
Liz Hahn
Liz Hahn 2012-5-18
Hello, Im doing pca using princomp and svd. Here what I can conclude: princomp do pca of centered data and will be equal to svd of centered data; pcacov = svd(cov(data)). What's the difference between princomp and svd, or do they have different functions? (technical details). Are they different with certain types of inputs? Does anyone have matlab code of princomp and svd to see the differences between the two? Thank you

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by