Clear Filters
Clear Filters

Interpreting the results of DWT

15 views (last 30 days)
Alex
Alex on 20 Jun 2024
Answered: Dheeraj on 24 Jun 2024 at 6:29
Hi, I am currently using the DWT to detect transients in my signal. When doing the DWT on my signal I use the following command:
[cA,cD] = dwt(signal,'db4')
And when I plot cD and cA respectively, they both look like the original signal. Does this mean that there are both low and high frequency components in the dwt or is there another interpretation of this result?
  2 Comments
Jonas
Jonas on 20 Jun 2024
please provide your data signal such that we can have a look =)
Alex
Alex on 20 Jun 2024
This is an example of how my signal looks like. I expected the detail coefficients to consist of peaks in the beginning due to expected transient behavior in the beginning of my original signal.

Sign in to comment.

Answers (1)

Dheeraj
Dheeraj on 24 Jun 2024 at 6:29
Hi Alex,
I understand you seek to interpret the result after using Discrete Wavelet Transform (DWT) function.
To clarify, Approximation Coefficients (cA) generally smooths out the signal, capturing the low-frequency trends. where as Detail coefficients (cD) capture high frequency details or transient components.
Given your signals behaviour It is likely that your signal has both low and high frequency components that are prominent. The similarity of both cA and cD to the original signal indicates that the signal's energy is well-distributed across different frequency bands.
To verify the integrity of the decomposition you can reconstruct the signal using the inverse DWT and see if the signal matches the initial signal.
reconstructed_signal = idwt(cA, cD, 'db4');
plot(reconstructed_signal);
title('Reconstructed Signal');
You could refer to the below MATLAB's documentation to know more about Signal Analysis in MATLAB.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!