Is there a difference between the Karhunen-Loève expansion and pca?
5 views (last 30 days)
Show older comments
Hello everyone: I have a vector called listOfUVValues of size 1000*50, it contains 50 realizations of a stochastic process. I need to calculate the Karhunen-Loève expansion of this process and obtain the uncorrelated random variables as explained in wikipedia. For that, I have used the pca function of Matlab as
[coeffUV, score_vectorUV, latentUV, tsquaredUV, explainedUV, muUV]=pca(listOfUVValues, 'Centered',false);
and as far as I understand, coeffUV has to be the vector containing said random variables. However, if I plot a histogram of the first column of coeffUV, I obtain what can be seen in the attached figure. The histogram of said random variables moves between intervals way smaller than the data in listOfUVValues.
Can someone please tell me if I am getting it right and apc can be used as the Karhunen-Loève expansion or if I am missunderstanding the coeff is not the equivalent to the random variable?
Any answer is appreciated.
Regards.
Jaime.
0 Comments
Answers (1)
Ernesto Staffetti
on 11 May 2021
Hi Jaime,
have a look at this paper
Hope this helps,
Ernesto
0 Comments
See Also
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!