4. Create a signal with 4 cycles of a 50 Hz sinusoid sampled at fs = 1000 Hz.
a) Use the Matlab subplot command to make a 3x1 plot showing the original signal, the signal quantized with 2 bits, and the signal quantized with 3 bits. Make sure to label all axes appropriately.
b)Calculate the experimental SNR for a 2-bit, 3-bit, and 8-bit quantization, and compare the theoretical SNR to the experimental.