MATLAB: Is pca() faster than svd() pcasvd 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)? Best Answer Read the help for SVD, particularly the economy SVD. Related SolutionsMATLAB: How to find the symmetric and skew symmetric part of a specified matrix A_sym = (A+A.')/2;A_anti = (A-A.')/2;The .' operation is the transpose. MATLAB: Does Jordan function take so long Jordan works on the matrix in symbolic form. You cannot possibly expect a symbolic solution to operate as fast as an operation computed using double precision arithmetic. Related QuestionHow pca() function works in matlab
Best Answer