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
No products are associated with this question.
Direct link to this answer:
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.
Direct link to this comment:
so how i estimate them?
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');
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries