Why is pca() faster than svd()?

2 visualizzazioni (ultimi 30 giorni)
Evan
Evan il 22 Mag 2017
Risposto: John D'Errico il 22 Mag 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)?

Risposta accettata

John D'Errico
John D'Errico il 22 Mag 2017
Read the help for SVD, particularly the economy SVD.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by