code to calculate SNR

38 vues (au cours des 30 derniers jours)
tina jain
tina jain le 17 Mar 2015
formula to calculate SNR matlab code too

Réponse acceptée

Anusha B
Anusha B le 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.

Plus de réponses (2)

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

Connectez-vous pour commenter.


Amit Kumar
Amit Kumar le 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!

Translated by