Hi Austin,
Actually, the PCM signal you’re looking for isn’t a serial stream of bits or a set of square pulses. Rather, it’s the sequence of quantized sample values, basically, an array of numbers that represent the original analog waveform at each sampling point.
In Simulink, if you use the int-to-bit converter and view the results in a scope, you’ll see the bitwise representation of each sample. That’s why you’re getting multiple colored pulse signals (one for each bit). While this is helpful for understanding digital transmission or logic, it’s not the best way to visualize the actual PCM waveform itself.
To help you see and work with a "normal" PCM signal, you might find these steps useful:
1. You can focus on the output of the quantizer or uniform encoder.This gives you the PCM signal directly which is a sequence of integer values, with each one representing a sampled point from your original waveform.
You can refer to the following documentations for more information on creating a 'quantizer' object and 'Uniform Encoder' in MATLAB:
2. You can try plotting these quantized values over time. Doing this will let you see a stair-step version of your original signal, which is the typical way PCM is visualized.
Hope this works for you!




