Is there a difference between the Karhunen-Loève expansion and pca?
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!