code to calculate SNR

 Risposta accettata

Anusha B
Anusha B il 17 Mar 2015

1 voto

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.

Più risposte (2)

kushal
kushal il 17 Mar 2015

0 voti

You can use formula method snr=10*(log10(Vs/Vn))

3 Commenti

tina jain
tina jain il 17 Mar 2015
FORMULA for PSNR will be?
kushal
kushal il 17 Mar 2015
10*log10(peak^2/MSE)
kushal
kushal il 18 Mar 2015
Accept Answer if it helped. Thanks kushal

Accedi per commentare.

Amit Kumar
Amit Kumar il 5 Ott 2019

0 voti

hello,
can you help in adjusting line width of snr plot.
I am simply using
snr(sinewave);

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by