Is there a difference between the Karhunen-Loève expansion and pca?

16 views (last 30 days)
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.

Answers (1)

Ernesto Staffetti
Ernesto Staffetti on 11 May 2021
Hi Jaime,
have a look at this paper
Hope this helps,

Community Treasure Hunt

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

Start Hunting!

Translated by