Hi muguangde,
Then, probably you need a LabTalk script, or an Origin C program to speed up.
Here is a sample script. Try to see if this runs enough fast, or not.
///////////////////////////////
threshold=5;
if(exist(%H)!=5) {type -b Activate a matrix; Return;};
%M=%H;
Window -t wks;
%W=%H;
Worksheet -a 1;
range r1=[%W]!1;
range r2=[%W]!2;
range r3=[%W]!3;
Window -a %M;
nc=wks.ncols;
nr=wks.nrows;
kk=0;
break -b Scanning %M;
break -r 1 nc;
Loop(jj,1,nc) {
break -p jj;
Loop(ii,1,nr) {
if(cell(ii,jj)>threshold) {kk++; r1[kk]=jj; r2[kk]=ii; r3[kk]=cell(ii,jj);}
}
}
break -end;
Window -a %W;
///////////////////////////////
--Hideo Fujii
OriginLab