Home > demo3 > s_test.m

s_test

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 [F1,C1,nf1,np1,I1]=readcategory('prec/ant/*.txt',0.5);
0002 [F2,C2,nf2,np2,I2]=readcategory('prec/crab/*.txt',0.5);
0003 
0004 F=cell2mat([F1;F2]);
0005 I=randperm(size(F,1));
0006 [cent,mincent,mindist,q2,qual]=kmeans(F, F(I(1:200),:));

Generated on Sat 22-Aug-2009 22:15:36 by m2html © 2003