Borrar filtros
Borrar filtros

Magnitude and phase of the signal using cwt

12 visualizaciones (últimos 30 días)
Giovanni Pirro
Giovanni Pirro el 27 de Mayo de 2024
Comentada: Abhimenyu el 12 de Jun. de 2024
Hi,
I have a signal in time that I want to analize in the frequency domain using wavelet transform (to balance time and frequency resolution). When I check the magnitude scalogram that is automatically generated using the function cwt, the value of the magnitude that i read is somehow corresponding to the value I am expecting from the time signal. When I try to extract this values computing abs and angle of the coefficients I get from cwt and compare them with expected magnitude and phase, I see there is some scaling factor. I tried to play with the sampling frequency, and it seems to be dependent also on this, but I could not figure out looking into the documentation how to get rid of this scaling factor.
coefs = cwt(signal, scales, wavelet);
mag=abs(coefs);
ph=angle(coefs);
I am taking the magnitude and phase at the freqeuncy where I have the peak, of course, using max(). That's the one I want to extract.
  1 comentario
Abhimenyu
Abhimenyu el 12 de Jun. de 2024
Hello,
It will really help if you could share the full code.
Thanks

Iniciar sesión para comentar.

Respuestas (0)

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!

Translated by