Suppose I have a wave with $20 \textrm{ kHz}$, $100 \textrm{ kHz}$ and $300 \textrm{ kHz}$. Sampling frequency used is $1000 \textrm{ kHz}$. I apply the discrete wavelet transform on the wave like dwt(wave,'db2')
. I will get one level of approximation and detail coefficients. According to the basics, the detail coefficient will have the $100\rm k$ and $300\rm k$ componentscomponent and approximation coefficient will have the $100\rm k$ and $20\rm k$. components
But when I did fft
on the output(on approximation and detail), I didn't get what I expected.
- Could anyone post some MATLAB code with which I can verify it?
- And also tell whether I am doing the procedure correctly?
- Also if anyone could explain the practical side of this tool?