delgci.m
来自「这是一个用于语音信号处理的工具箱」· M 代码 · 共 25 行
M
25 行
% Function : delete one gci from the GCI display using the mouse.
% Delgci will delete one gci in the neighborhood of the mouse position.
%
% Delgci.m in a call_function executed by "del_ppb" on the figure(m_gci_f).
[xgci y]=ginput(1);
iidx=find( gci0>=(xgci-8) & gci0<=(xgci+10) );
degci=gci0(iidx); % the position of the deleted gci
gci0(iidx)=[];
idx=find(gci0>=left & gci0<=right);
figure(Gchek_f);
plot((left:right),signal(left:right),'b',gci0(idx),signal(gci0(idx)),'ko',...
degci,signal(degci),'r+');
figure(Pcontour_f);
plot(gci0(1:length(gci0)-1),diff(gci0),'b');
title('Pitch periods at the glottal closure indexes');
axis([gci0(1)-100 max(gci0) 0.35*mean(diff(gci0)) 2*mean(diff(gci0)) ]);
set(app_pb,'Visible','on');
clear iidx degci;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?