How to change SNR value of noise signal?
3 次查看(过去 30 天)
显示 更早的评论
I have clean speech samples and environmental noise samples. I need to add noise to clean speech at different SNR levels. How can I change SNR value of noise samples?
0 个评论
回答(3 个)
Greg Heath
2018-5-26
Multiply the noise samples by a constant before adding to the signal.
Thank you for formally accepting my answer
Greg
0 个评论
Siddhesh Karbhari
2018-5-26
1 个评论
Image Analyst
2018-5-26
Since you said "I need to add noise" you would do this:
yNoisy = y + noiseSignal;
Siddhesh Karbhari
2018-5-26
1 个评论
Image Analyst
2018-5-26
Greg did. Did you overlook his answer? He said to multiply your noise signal by some amplification factor before adding:
yNoisy = yNoise + amplitude * noiseSignal;
By the way, a signal will have an SNR - a "QUT-Noise" signal will not. Noise alone has no SNR, or it's basically zero, since there is all noise (only noise by definition) and no signal. So you should not use terminology like "SNR of the noise".
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulation, Tuning, and Visualization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!