How to change SNR value of noise signal?
조회 수: 5 (최근 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에서 Signal Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!