Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

find SNR of a noisy signal.

Asked by yihui

yihui (view profile)

on 30 Sep 2013
Latest activity Commented on by Image Analyst

Image Analyst (view profile)

on 1 Oct 2013

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

0 Comments

yihui

yihui (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Image Analyst

Image Analyst (view profile)

on 30 Sep 2013

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 Comments

yihui

yihui (view profile)

on 1 Oct 2013

so how i estimate them?

Image Analyst

Image Analyst (view profile)

on 1 Oct 2013

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');
Image Analyst

Image Analyst (view profile)

Contact us