Introduction - If you have any usage issues, please Google them yourself
Function to implement Linear Discriminant Analysis
Usage:-
[Xnew,V,mX,D] = lda(X,index,mX)
[V,D] = lda(X,index)
where:-
X = concatenated grand profile vectors (GPV)
i = class index of each vector
Xnew = new feature vectors
P = eigen vectors
mX = mean of GPV (optional in input)
D = eigen values