资源简介
向一段语音叠加指定信噪比的噪声,测试可用。
代码片段和文件信息
function [YNOISE] = add_noisem(Xfilepath_nameSNRfs)
% add_noisem add determinated noise to a signal.
% X is signal and its sample frequency is fs;
% filepath_name is NOISE‘s path and name and the SNR is signal to noise ratio in dB.
[wavinfs1nbits]=wavread(filepath_name);
wavin1=wavin;
if
- 上一篇:计算流体力学作业-平板上的超声速流动的数值求解
- 下一篇:matlab内点法
评论
共有 条评论