OK, last mail for today, I hope.. I was wrong when answering the previous question about mircluster. Actually the bug was simple to fix. So here is the fix enclosed to this mail (will be included in the new release soon.) Hope you don't mind this deluge of mails today. Let's calm it down a bit. Olivier
Alexander Refsum Jensenius kirjoitti 9.11.2010 kello 19.26: > Hi, > > I am trying to do what it says in the manual (1.3) on p164: > >>> mircluster(sg, {mirmfcc(sg), mircentroid(sg)}) > > This gives me the following error: > >> Clustering frames... >> ??? Undefined function or method 'isnan' for input arguments of type 'cell'. >> >> Error in ==> kmeans_clusters at 62 >> if nargin < 2 | isempty(n_max) | isnan(n_max), n_max = ceil(sqrt(dlen)); end >> >> Error in ==> mircluster at 113 >> [cc, p, err, ind] = >> kmeans_clusters(va',option.nclust,option.nruns); > > > When I try the second example: >>> mircluster(cc) > > I get this error: > >> Clustering frames... >> ??? Undefined function or method 'randperm' for input arguments of type >> 'double'. >> >> Error in ==> som_kmeans at 45 >> temp = randperm(l); >> >> Error in ==> kmeans_clusters at 94 >> [c, k, err] = som_kmeans('batch', D, i, 100, 0); >> >> Error in ==> mircluster at 113 >> [cc, p, err, ind] = >> kmeans_clusters(va',option.nclust,option.nruns); > > > This is using a single, short wave file as input. What am I doing wrong? > > Thanks for any help in clarifying this. > Alexander