Watch this Author's files
Thank you for sharing this. This implementation is faster than litekmeans.
Just tried to read the help text:
>> help montagefigures
by Nick Sinclair (email@example.com) Jul 08, 2010
So I guess this still needs some work...
Seems to be broken in R2013a due too a column/row vector mix-up. As a quick workaround I have added
label = reshape(label, length(label), 1);
after line 15 in litekmeans.m.