1. Open m file of sampandquant, uniquan and Prelab4 in MATLAB. a. Set the quantization levels of...

50.1K

Verified Solution

Question

Electrical Engineering

1. Open m file of sampandquant, uniquan and Prelab4 inMATLAB.

a. Set the quantization levels of PCM (L) as 2 and 32. Compareyour results.

b. Why did we choose the cut-off frequency of the ideal LPF as30 Hz. What happens for small or very big values of the cut-offfrequency?

c. Change the message signal as : xsig = cos(2pit) +cos(2pit)

d. First set the quantization levels of PCM (L) as 2 and 32.Compare your results. Then, set different values of L and compareyour results.

e. What should be the cut off frequency of the ideal low passfilter for the signal given in part (c) so that the original andthe recovered signals will look like each other?

Answer & Explanation Solved by verified expert
4.5 Ratings (920 Votes)
Part A ExPCMm Example of sampling quantization and zeroorder holdclear all close all clctd0002 original sampling rate 500 Hzt0td1 time interval of 1 secondxsigsin2pitsin6pit 1Hz3Hz sinusoidsLsiglengthxsigLfft2ceillog2Lsig1XsigfftshiftfftxsigLfftFmax12tdFaxislinspaceFmaxFmaxLfftts002 new sampling rate 50 HzNfacttstd send the signal through a 16level uniform quantizersoutsqoutsqhout1DeltaSQNRsampandquantxsig2tdts obtained the PCM signal which is sampled quantized and zeroorder hold signal sqhout plot the orignal signal and the PCM signal in time domainfigure1subplot211sfig1plottxsigktsqhout11Lsigbsetsfig1Linewidth2titleSignal it git t and its 2 level PCM signalxlabeltime sec send the signal throuhg a 4level uniform quantizersoutsqoutsqhout2DeltaSQNRsampandquantxsig32tdts obtained the PCM signal    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students