Quantizing waveforms. Using Example 16.34 as a guide, compose a Matlab script to quantize the waveform
si = sin(2πi / 64) + sin(2πi / 48) V for 0 ≤i ≤512
a. What is the maximum amplitude of si ?
b. What is the number of bits that results in a quantization error magnitude |∊i |<0.01 V?
Example 16.34
Quantizing sinusoidal waveform
Figure 16.32 shows a Matlab script that illustrates quantization of a sinusoidal waveform. This script contains a while loop that insures the number of bits specified is 8 or less.

Figure 16.32
Matlab script that illustrates quantization of sinusoid using nbit = 3.

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.