Whitenv vectors.
[newVectors, whiteningMatrix, dewhiteningMatrix] = whitenv(vectors, E, D, verbose);
Data in row vectors.
Eigenvector matrix from function 'pcamat'
Diagonal eigenvalue matrix from function 'pcamat'
Optional. Default is 'on'
Whitens the data (row vectors) and reduces dimension. Returns the whitened vectors (row vectors), whitening and dewhitening matrices.