Why is pca() faster than svd()?

3 vues (au cours des 30 derniers jours)
Evan
Evan le 22 Mai 2017
The documentation for the pca() function says that 'svd' is the default algorithm:
"By default, pca centers the data and uses the singular value decomposition (SVD) algorithm."
If this is the case, why does svd(X) take much longer than pca(X)?

Réponse acceptée

John D'Errico
John D'Errico le 22 Mai 2017
Read the help for SVD, particularly the economy SVD.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by