svd, pca - linear transformation

Hi, I used to do the following..
[U,SS,V] = svd(Y*Y');
W = sqrt(SS);
w = diag(W);
L = diag(1./w)*U';
T = L*Y;
Here the first row of L gave me the linear transformation between my observations and the first PC.
FOr a variety of reasons I am now using
[coeffZ, score, latent, tsquared, explained, mu]=pca(Z);
Can someone please explain how I can obtain L from this?
Thanks,
S

Antworten (0)

Kategorien

Tags

Gefragt:

am 13 Mär. 2014

Bearbeitet:

am 16 Mär. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by