LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the frequency bands of the DWT for the db04 wavelet?

Solved!
Go to solution

Hi Marco,

 

Please just send your questions to dsp.nish@ni.com and we will answer them ASAP:)

 

Mac

0 Kudos
Message 11 of 17
(2,829 Views)

 

On a very related topic, is there a way for you to put frequency labels on the x-axis of the power spectrum of the Express VI for wavelet analysis, and also provide the code or strategy on how to determine the endpoint frequency for the X-axis for the power spectrum.

 

WaveletExpress.PNG

 

Don

0 Kudos
Message 12 of 17
(2,683 Views)

Hi Don,

 

Thanks for the feedback. Yes there must be ways to put the frequency labels on the x-axis of the power spectrum. We will put your suggestion into our feature request database and it will definitely be considered for ASPT 2012 release.

 

Mac

Message 13 of 17
(2,665 Views)

Unfortunately, I am not sure I can wait that long Smiley Happy!

 

If you can just tell me how to get the frequency endpoint value for your power spectrum display (e.g., is it the same as the end point from the FFT of the time-domain signal?), that would be of great value.

 

Thanks,

 

Don

0 Kudos
Message 14 of 17
(2,652 Views)

Hi Don,

 

The frequency endpoint value for the power spectrum display can be decided in the following way. Since we display only the single side spectrum, if the signal length is even, the frequency endpoint will be exactly the Nyquist frequency.

 

1.png

 

If the signal length is odd, the frequency endpoint will be a little bit smaller than the Nyquist frequency.

 

2.png

 

Mac

 

0 Kudos
Message 15 of 17
(2,641 Views)

Ok - so let's do an example to make sure we have it right.

 

Nyquist frequency = fs/2   where fs = sampling frequency.

 

fs = 1/(delta t)   where delta t is the time spacing between samples in the time-domain signal.

 

so

 

Endpoint (signal length is even) = Nyquist frequency = 1/(2* delta t).

 

Specific example:

 

Mumber of points = 11010

 

delta t (sec) = 4.541670e-09

 

Endpoint = 110091662 Hz = ~ 110 MHz.

 

 

 

Does this look right to you?

 

Thanks,

 

Don

0 Kudos
Message 16 of 17
(2,627 Views)

Hi Don,

 

That's exactly right.

 

Mac

0 Kudos
Message 17 of 17
(2,605 Views)