how to do wavelet transformation in real time?

7 visualizaciones (últimos 30 días)
Ahmed Fadhil Hassoney
Ahmed Fadhil Hassoney el 24 de Mayo de 2013
Comentada: Matlab NITT el 17 de Oct. de 2019
Hello i'm using dyadic filter bank and discrete wavelet transformation. in the simulink we have to set the number of level based on the input signal follow the following expiration 2^n ok then how about if the input signal changing in the real time? I mean the input signal is continuously changing in real time? is there any other block can be use for concious analysis?
thanks..
  1 comentario
di liu
di liu el 19 de Jun. de 2019
Hello, I meet the similar problem as yours. Could you tell me how to do online DWT in Simulink if your problem had been solved? Thank you.

Iniciar sesión para comentar.

Respuestas (1)

Wayne King
Wayne King el 19 de Jun. de 2019
Hi are you using dsp.DyadicAnalysisFilterBank? In that case the input signal must be a multiple of four along its first dimension. If you have the Wavelet Toolbox, then you can use wavedec() inside of a MATLAB function block. wavedec() is supported for code generation. That will work on an arbitrary length input signal length, however, you can't expect the wavelet and scaling coefficients to be the same length if the input signal is changing length.
  2 comentarios
di liu
di liu el 19 de Jun. de 2019
Hi, thank you for your answer. It is quiet useful.
When I use 'wavedec' and 'detcoef' function in simulink, there exists a error like following. But in MATLAB, these codes work well. Could you tell me how to solve this problem?
Thank you.
476565d18502921b07a97e56751941b.png
5046179840c261967831f531bff421d.png
Matlab NITT
Matlab NITT el 17 de Oct. de 2019
Did you get the solution for this?? If so post here..

Iniciar sesión para comentar.

Categorías

Más información sobre Continuous Wavelet Transforms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by