![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/827475/image.png)
how to use new designed wavelet in the simulink?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ahmed Fadhil Hassoney
el 21 de Nov. de 2013
Comentada: NIKOLAY YAKOVENKO
el 8 de Dic. de 2021
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 comentario
NIKOLAY YAKOVENKO
el 8 de Dic. de 2021
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/827475/image.png)
Respuestas (0)
Ver también
Categorías
Más información sobre Continuous Wavelet Transforms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!