what is the noise bandwidth considered while calcuating SNR ; for func of the form .. r = snr(x,fs,n)
    2 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Veeresh S
 il 22 Ago 2019
  
    
    
    
    
    Commentato: Devineni Aslesha
    
 il 4 Set 2019
            what is the noise bandwidth considered while calcuating SNR ; for func of the form .. r = snr(x,fs,n)
0 Commenti
Risposta accettata
  Devineni Aslesha
    
 il 27 Ago 2019
        The noise bandwidth is equal to the sampling frequency. This can be obtained by plotting the power spectral density of noise. 
Use the below code for reference. 
rng default 
Fi = 2500; 
Fs = 48e3; 
N = 1024; 
x = sin(2*pi*Fi/Fs*(1:N)) + 0.00001*randn(1,N); 
w = kaiser(numel(x),38); 
[Sxx, F] = periodogram(x,w,numel(x),Fs,'centered'); 
plot(F,10*log10(Sxx));
xlabel('Frequency (Hz)'); 
ylabel('Power/Frequency(dB/Hz)'); 
title('Power Spectral Density'); 
In the above plot, noise bandwidth = Fs 
Doc Link: 
2 Commenti
  Devineni Aslesha
    
 il 4 Set 2019
				In the given plot, noise bandwidth is equal to fs. Eventhough, the frequency components are shown upto fs or fs/2, the only difference it makes is a single sided or double sided spectrum respectively. In both cases, noise bandwidth is equal to fs.
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Spectral Measurements in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
