find SNR of a noisy signal.

1 次查看(过去 30 天)
yihui
yihui 2013-9-30
i have a noisy signal,can i just use this signal to calculate the snr?if so could somebody tell me what i should do?Thanks in advance

回答(1 个)

Image Analyst
Image Analyst 2013-9-30
You need to find the noise, and the signal. You can estimate them if you want, but to get the ratio you need each of them separately.
  2 个评论
yihui
yihui 2013-10-1
so how i estimate them?
Image Analyst
Image Analyst 2013-10-1
You can use conv() to smooth your signal with a box filter. But if you don't know your true signal then you won't know how much to smooth it. I guess you could just eyeball it and go with whatever you think looks good.
smoothedSignal = conv(noisySignal, ones(1, windowWidth)/windowWidth, 'same');

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Signal Generation and Preprocessing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by