I used PCA to reduce the features of 1020 vector size into desired length like 32, 64, 128 etc.
Now I want to make LDA dimensionality reduction to compare them.
I'm stuck now can't figure out how do I reduce into desired feature vector length the original data set using LDA. (I want it to reduce it to 32, 64 etc).
I'm using the following MATLAB code to achieve it: LDA
The problem is that I have 5 classes and that code reduces the features size into 4. I tried to see what the code does but it seems the maximum what I can get is the feature size of 5.