princomp and svd are different?

4 ビュー (過去 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 件)

製品

Community Treasure Hunt

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

Start Hunting!

Translated by