How do I get the time-frequency plot from given signal and DWT?

조회 수: 1 (최근 30일)
Georgina Gocza
Georgina Gocza 2020년 5월 24일
댓글: Rasula Dias 2021년 4월 16일
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
Georgina Gocza
Georgina Gocza 2020년 8월 6일
BTW in the meantime I figured it out and the week I get my diploma, I'll upload the answer
Cheers peeps!
Rasula Dias
Rasula Dias 2021년 4월 16일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sai Sri Pathuri
Sai Sri Pathuri 2020년 5월 27일

카테고리

Help CenterFile Exchange에서 Discrete Multiresolution Analysis에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by