Wavelet-based data compression:
Given 16-bit speech data ("speech.dat") and using the wavelet coding method with 16-tap Daubechies wavelet filters, write a MATLAB program to compress a speech signal with the following specifications:
a. 16 bits for each of the wavelet coefficients, compression 2:1.
b. 16 bits for each of the wavelet coefficients, compression 4:1.
c. 16 bits for each of the wavelet coefficients, compression 8:1.
d. 16 bits for each of the wavelet coefficients, compression 16:1.
e. 16 bits for each of the wavelet coefficients, compression 32:1.
f. Measure SNR in dB for (a), (b), (c), (d) and (e).
g. Repeat (a) to (f) for seismic data ("seismic.dat") in which each sample is encoded using 32 bits instead of 16 bits.