⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 duanshinl.m

📁 编写程序
💻 M
字号:
a1=zeros(1,620);K=450;R=zeros(1,250); 
duanshnl=0;maxx=0;speech=zeros(1,1000);
sp1=wavread('c:\语音信号处理\a.wav');%8000采样频率
maxx=max(sp1);
speech(1:1000)=sp1(1:1000); 
duanshnl=speech(1:1000)*speech(1:1000)';
duanshnl=duanshnl/(maxx^2)
plot(sp1(1:1000),'r');
hold on
sp=wavread('c:\语音信号处理\s.wav');%8000采样频率

speech(1:1000)=sp(1:1000);
qduanshnl=speech(1:1000)*speech(1:1000)';
qduanshnl=qduanshnl/(maxx^2)

plot(sp(1:1000),'b')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -