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

Answers (0)

Categories

Tags

Asked:

on 13 Mar 2014

Edited:

on 16 Mar 2014

Community Treasure Hunt

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

Start Hunting!