how to use new designed wavelet in the simulink?

조회 수: 3 (최근 30일)
Ahmed Fadhil Hassoney
Ahmed Fadhil Hassoney 2013년 11월 21일
댓글: NIKOLAY YAKOVENKO 2021년 12월 8일
we can design, test and save new wavelet in wavelet toolbox, so my question is how to use this designed wavelet in the simulink model?
also I'm wondering how to do contentious wavelet transform (cwt) in the simulink? there is no such block cwt such that for dwt
thanks
  댓글 수: 1
NIKOLAY YAKOVENKO
NIKOLAY YAKOVENKO 2021년 12월 8일
CWT design in simulink - (mathworks.com) thread is the answer. .I use the Discrete FIR Filter block on interval N where instead of coefficients you put the wavelet represented by N samples. The block will perform cross-correlation of you signal N samples on one input, to the wavelet on another input at the interval N. By using different wavelets you can determine then, which wavelet represent signal better in form of immediate magnitude. By performing this continuosly as the signal evolves (shifts) sample by sample you will get cwt() on that evolvement interval. To facilitate the shift register of length N I use the DSP toolbox Buffer block, where I set the buffer length to N, and buffer overlap to N-1, so size of the Buffer output will be the same as your wavelet length.
So each sample time at the output of the Discrete FIR Filter you will be getting the output in shape of the vector , the size of which is equal to the amount of your wavelets, or frequencies, since each wavelet is tuned to particular frequency. Each member of the vector is the Sum of N products between samples of the signal and the wavelet at the input of Discrete FIR Filter. The output vector will be representing a single sample of Continuous Wavelet Transform ,which over time will draw a picture like below, which I borrowed from Mathworks cwt() help examples.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Continuous Wavelet Transforms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by