Out of memory error while using clusterdata in MATLAB
- by Hossein
Hi, I am trying to cluster a Matrix (size: 20057x2).:
T = clusterdata(X,cutoff);
but I get this error:
??? Error using == pdistmex
Out of memory. Type HELP MEMORY for your options.
Error in == pdist at 211
Y = pdistmex(X',dist,additionalArg);
Error in == linkage at 139
Z = linkagemex(Y,method,pdistArg);
Error in == clusterdata at 88
Z = linkage(X,linkageargs{1},pdistargs);
Error in == kmeansTest at 2
T = clusterdata(X,1);
can someone help me. I have 4GB of ram, but think that the problem is from somewhere else..