Interpreting the results of DWT

9 visualizzazioni (ultimi 30 giorni)
Alex
Alex il 20 Giu 2024
Risposto: Dheeraj il 24 Giu 2024
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 Commenti
Jonas
Jonas il 20 Giu 2024
please provide your data signal such that we can have a look =)
Alex
Alex il 20 Giu 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.

Accedi per commentare.

Risposte (1)

Dheeraj
Dheeraj il 24 Giu 2024
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.

Categorie

Scopri di più su Discrete Multiresolution Analysis in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by