?? judge.m
字號:
function out=judge(MFCC,Embrace)
out1=MFCC;out2=Embrace;
l=0;
while(l<4)
p=find(out2==max(out2));
l=length(p)+l;
out2(p)=0;
end
for i=1:3
if(out2(i*3-2)>0|out2(i*3-1)>0|out2(i*3)>0)
out2(i*3-2)=1;
out2(i*3-1)=1;
out2(i*3)=1;
end
end
out1(find(out2==0))=max(out1);
p=find(out1==min(out1));
if(floor(p/3)*3==p) out=p/3;else out=floor(p/3)+1;end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -