code to calculate SNR

108 Ansichten (letzte 30 Tage)
tina jain
tina jain am 17 Mär. 2015
formula to calculate SNR matlab code too

Akzeptierte Antwort

Anusha B
Anusha B am 17 Mär. 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.

Weitere Antworten (2)

kushal
kushal am 17 Mär. 2015
You can use formula method snr=10*(log10(Vs/Vn))
  3 Kommentare
kushal
kushal am 17 Mär. 2015
10*log10(peak^2/MSE)
kushal
kushal am 18 Mär. 2015
Accept Answer if it helped. Thanks kushal

Melden Sie sich an, um zu kommentieren.


Amit Kumar
Amit Kumar am 5 Okt. 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