code to calculate SNR

126 views (last 30 days)
tina jain
tina jain on 17 Mar 2015
formula to calculate SNR matlab code too

Accepted Answer

Anusha B
Anusha B on 17 Mar 2015
Hi Tina,
You can use the function 'snr' which is part of Signal Processing Toolbox, to calculate the signal to noise ratio of a signal.
Refer to this link for details on 'snr':
Hope this helps.

More Answers (2)

kushal
kushal on 17 Mar 2015
You can use formula method snr=10*(log10(Vs/Vn))
  3 Comments
kushal
kushal on 17 Mar 2015
10*log10(peak^2/MSE)
kushal
kushal on 18 Mar 2015
Accept Answer if it helped. Thanks kushal

Sign in to comment.


Amit Kumar
Amit Kumar on 5 Oct 2019
hello,
can you help in adjusting line width of snr plot.
I am simply using
snr(sinewave);

Tags

Community Treasure Hunt

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

Start Hunting!