Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

by Y-round X). Finally, form the random round off error accordin find the PDE of

ID: 2265934 • Letter: B

Question

by Y-round X). Finally, form the random round off error accordin find the PDE of Z quared bsing MATLAB, create a histogram for the probability densities for t in part (a 2. Suppose a random variable has a PDF given by write a MATLAB program to design an optimum 4-bit (16-level) quantizer for this random variable. Compute the SQNR in decibels of the quantizer you designed. umber of samples from a Gaussian distribution 20 and variance 4. Hint the MATLAB command sigma randn(1.N)+mu will c uch numbers with mean mu and standard deviation sigma Letx samples you generated Compute each of the following mean values b) gcometric mean. gn harmonic mean, hm an (root mean square),

Explanation / Answer

b=4;
q=2/(2^b);
for x=-1:1
{
if (x<0)
y=1+x;
elseif (x>0)
y=1-x;
}
for i =1:2
a=quantiz(i);
plot(a);

To compute SQNR

c=snr(a);