separate_frame.m
来自「自己编写GUI界面实现语音增强」· M 代码 · 共 10 行
M
10 行
function y=separate_frame(x,n,num)
%this function complete separate frame;at same time,add a hanning window to y;
%x is the sequence will be separate;
%n is used to show how many frame will be separated;
%num is used to show this frame is which order frame;
window=hanning(n);
for i=1:n,
y(i)=x(num*n+i)*window(i);
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?