names=dir('*.3ds');
len=length(names)


for i=1:len
    fprintf('%d: %s\n',i,names(i).name);
    histo{i}=disttest(names(i).name);
end

%comparison

M=zeros(len);
for i=1:len-1
    for j=i+1:len
        M(i,j)=sum((histo{i}-histo{j}).^2);
    end
end

    
    
    
    
    