source: proiecte/PPPP/ica/spherex.m @ 94

Last change on this file since 94 was 94, checked in by (none), 14 years ago

PPPP - ica serial implementation

File size: 278 bytes
Line 
1% SPHEREX - spheres the training vector x.
2%    Requires x, P, to be predefined, and defines mx, c, wz.
3
4fprintf('\nsubtracting mean\n');
5mx=mean(x');
6x=x-(ones(P,1)*mx)';
7fprintf('calculating whitening filter\n');
8c=cov(x');
9wz=2*inv(sqrtm(c));
10fprintf('whitening\n');
11x=wz*x;
Note: See TracBrowser for help on using the repository browser.