How do I get the time-frequency plot from given signal and DWT?
Afficher commentaires plus anciens
I have a given signal. I know that I want to transform it with a Haar wavelet, and so I used wavedec to do just that:
[c,dcoeff] = wavedec(voltages,5,'haar')
This gives me back the coefficients. I also got the detail coefficient vectors:
[cd1,cd2,cd3,cd4,cd5]=detcoef(c,dcoeff,[1,2,3,4,5])
I want to plot this in the time-frequency domain to get an image much like this:

...but I have no idea how to do that just from the data above. Could anyone please share a time-frequency-amplitude plot code for wavelet transformed signals?
Thank you!
2 commentaires
Georgina Gocza
le 6 Août 2020
Rasula Dias
le 16 Avr 2021
Would be very grateful for the answer or to a link of it. I have the same question. Want to apply the DWT to an audio signal and visualize it.
Réponses (1)
Sai Sri Pathuri
le 27 Mai 2020
0 votes
Catégories
En savoir plus sur Wavelet Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!