Out of memory error while using clusterdata in MATLAB
Posted
by Hossein
on Stack Overflow
See other posts from Stack Overflow
or by Hossein
Published on 2010-05-31T21:42:32Z
Indexed on
2010/05/31
22:03 UTC
Read the original article
Hit count: 418
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..
© Stack Overflow or respective owner