sona_
Junior Member level 1
- Joined
- Nov 23, 2014
- Messages
- 18
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 139
hello
i was simulating of a first order adc using code given in book of richard scherier. for calculating SNR he uses (page 265)
snr = calculateSNR(spec(1:ceil(Nfft/(2*OSR))+1), tone_bin)...
where spec is spec = fft(v.*ds_hann(Nfft))/(Nfft*(nLev-1)/4);
well i don't understand this.if i calculate my SNR using the standard formulae of
(3.3L+1.6)log(OSR)+quantizer bits+1.6log(2L+1)-1.6L where L is the order i get completely different results.
thanx i
i was simulating of a first order adc using code given in book of richard scherier. for calculating SNR he uses (page 265)
snr = calculateSNR(spec(1:ceil(Nfft/(2*OSR))+1), tone_bin)...
where spec is spec = fft(v.*ds_hann(Nfft))/(Nfft*(nLev-1)/4);
well i don't understand this.if i calculate my SNR using the standard formulae of
(3.3L+1.6)log(OSR)+quantizer bits+1.6log(2L+1)-1.6L where L is the order i get completely different results.
thanx i