Skip to main content
edited tags
Link
Marcus Müller
  • 32.5k
  • 4
  • 35
  • 62
added 10 characters in body
Source Link
vvv
  • 49
  • 8

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?

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$ components and approximation coefficient will have $20\rm k$.

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?

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   $300\rm k$ component 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?
improved formatting
Source Link
Gilles
  • 3.4k
  • 3
  • 23
  • 29

Wavelet transform in matlabMATLAB

Suppose iI have a wave with 20kHz$20 \textrm{ kHz}$, 100kHz$100 \textrm{ kHz}$ and 300kHz$300 \textrm{ kHz}$.Sampling Sampling frequency used is 1000kHz$1000 \textrm{ kHz}$. iI apply the discrete wavelet transform on the wave like dwt(wave,'db2')dwt(wave,'db2'). iI will get one level of approximation and detail coefficients. accordingAccording to the basics, the detail coefficient will have the 100k$100\rm k$ and 300k$300\rm k$ components and approximation coeffcoefficient will have 20k$20\rm k$. 

But when iI did fftfft on the output(on approx ndapproximation and detail), i didntI didn't get aswhat 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?

  • 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?

Wavelet transform in matlab

Suppose i have a wave with 20kHz, 100kHz and 300kHz.Sampling frequency used is 1000kHz. 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 100k and 300k components and approximation coeff will have 20k. But when i did fft on the output(on approx nd detail), i didnt get as 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?

Wavelet transform in MATLAB

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$ components and approximation coefficient will have $20\rm k$. 

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?
Source Link
vvv
  • 49
  • 8
Loading