Using the audiorecorder() function in MATLAB, make a recording of your voice. Use a sample rate of 8kHz, 16 bits per sample, and aim to record around 2 seconds worth.
Quantize the audio samples down from the original 16 bits by removing the least-significant bit (LSB) from the waveform, to make a 15 bit recording. Repeat for 14, 13, 12 bits, down to 1 bit.
Explain how you would do this in MATLAB, and implement your approach.
Listen to the recordings, and make a table with the number of bits and the corresponding quality assessment. This can simply be a subjective assessment; use terms such as ''no perceptual difference'', ''minor noise present'', ''quite noisy'', ''poor quality'' etc.
Calculate the signal-to-noise ratio in each case, and add that to your table. Explain how you calculated the SNR.