How to do whitening on the given matrix?
6 次查看(过去 30 天)
显示 更早的评论
X = rand(100,20); % 100 instance with 20 features
N= size(X,2);
M=size(X,1);
meanX=mean(X,2);
Xm=X-meanX*ones(1,N);
C= ( Xm*Xm')/N;
[U D]=eig(C);
How to whiten this above matrix??
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!