code to calculate SNR
    34 views (last 30 days)
  
       Show older comments
    
    tina jain
 on 17 Mar 2015
  
    
    
    
    
    Commented: ASSIDDIGOU ABOUBAKRY
 on 19 Feb 2021
            formula to calculate SNR matlab code too
Accepted Answer
  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.
0 Comments
More Answers (2)
  Amit Kumar
 on 5 Oct 2019
        hello, 
can you help in adjusting line width of snr plot.
I am simply using
snr(sinewave);
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



