Problem

Quantizing waveforms. Using Example 16.34 as a guide, compose a Matlab script to quantize...

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.

Step-by-Step Solution

Request Professional Solution

Request Solution!

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.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 7
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT