i was working in matlab for vector quatization as we know in vector Quantization, if we provide set of code words as an input we get code vectors so what i did , i used LPG and Loyed algorithms to do that by :-
training set=randn(2,100) == code word
distortion=0.001
[code book]=Vector-Quantization (training set,distortion)
the result was some locations of code word now , i want to be the locations of code book as a subset of locations of code vectors ? ali