Choose k elements from a vector - mex: 100 times faster than nchoosek in matlab

The following Matlab project contains the source code and Matlab examples used for choose k elements from a vector - mex: 100 times faster than nchoosek . VChooseK(V, K) creates a matrix, which rows are all combinations of choosing K elements of the vector V without order and without repititions.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1309
TestVChooseK.m 16182
VChooseK.c 39160
VChooseK.m 3801

SocialTags: