How to do whitening on the given matrix?

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??

Tags

Asked:

on 9 Jul 2017

Answered:

on 14 Apr 2020

Community Treasure Hunt

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

Start Hunting!