Está en la página 1de 2

3. Consider the signal x(t) = t 2 , 0 ≤ t ≤ 2. Choose ts = 0.

1s, four quantization levels, and rounding


to find the following:

 (a) The sampled signal x[n] 1


 (b) The quantized signal xQ[n]
 (c) The actual quantization signal to noise ratio SNRQ
 (d) The statistical estimate of the quantization SNRS
 (e) An estimate of the SNR, assuming x(t) to be periodic, with period T = 2s
a) Mediante la aproxmacion de matlab la señal muestreada seria:

𝑥[𝑛]{0, 0.01, 0.04, 0.09, 0.16, 0.25, 0.36, 0.49, 0.64, 0.81, 1, 1.21, 1.44, 1.69, 1.96, 2.25, 2.56, 2.89, 3.24, 3.61,4}

b) Dado que X[n] varia entre 0 y 4, los 4 niveles de cuantificación están separados por una
unidad. Por lo tanto la señal cuantificada Xq[n] usando el redondeo seria:

𝑋𝑄 = {0,0,0,0,0,0,0,0,1,1,1,1,1,2,2,2,3,3,3,4,4}

Asi la señal de error seria:


𝑒[𝑛] = 𝑥[𝑛] − 𝑋𝑄 [𝑛]

Asi que:

𝑒[𝑛]{0,0.01,0.04,0.09,0.16,0.25,0.35,0.49, −0.36, −0.19,0.021,0.44, −0.31, −0.04, 0.25, −0.44, −0.11, 0.24, −0.39,0}
c) Ahora tendremos:

∑ 𝑥 2 [𝑛] = 72.26 𝑦 ∑ 𝑒 2 [𝑛] = 1.44

Por lo tanto la cuantizacion actual SNRq seria:

∑ 𝑥 2 [𝑛] 72.26
𝑆𝑁𝑅𝑆 = 10𝑙𝑜𝑔 = 10 log ( ) = 16.986 𝒅𝑩
∑ 𝑒 2 [𝑛] 1.44

d) La estimación estadística de la cuantifiacion SNRs seria:

Cuando L = 4, N = 21 y D = 4

𝑆𝑁𝑅𝑄 = 10 log 𝑃𝑠 + 10.8 + 20 log(𝐿) − 20 log(𝐷)


1
𝑃𝑠 = ∑ 𝑥 2 [𝑡]
𝑇
𝑆𝑁𝑅𝑆 = 10 log 𝑃𝑠 + 10.8
𝑆𝑁𝑅𝑆 = 16.17 𝒅𝑩

e) Suponiendo que x(t) sea periódica podremos obtener una estimación de SNR la cual seria :

1 𝑇 2 2
𝑃𝑠 = ∫ 𝑋 (𝑡)𝑑𝑡 = 0.5 ∫ 𝑡 4 𝑑𝑡 = 3.2
𝑇 0 0

Asi tendremos:
𝑆𝑁𝑅𝑄 = 10 log 𝑃𝑠 + 10.8 + 20 log(𝐿) − 20 log(𝐷)
𝑆𝑁𝑅𝑄 = 15.85 𝐝𝐁

También podría gustarte