Filter Wavelet min/max frequencies
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear Community,
I am analysing sound where the interesting things are in the ultraosund spectrum. I wanted to use wavelets to get some insights into the data.
However, 2/3 of the wavelet picture is focused on the uninteresting part (<10kHz), whereas the utrasound area gets a fraction of the attention.
Is there any chance I can specify, that the "music" is playing in certain frequency ranges? (e.g. above 40kHz or so)?
I use
cwt(x,fs);
to quickly display the wavelet.
Your answers are much appreciated!
![Wavelet.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242607/Wavelet.jpeg)
댓글 수: 0
채택된 답변
Roshni Garnayak
2019년 11월 4일
You can use the Name-Value pair argument ‘FrequencyLimits’ to specify the range of frequencies you want to display. The value is specified as a two-element vector with positive strictly increasing entries.
You can use the following line of code where ‘minFreq’ and ‘maxFreq’ specifies the lower and upper limits of the frequency range:
cwt (x, fs, ‘FrequencyLimits’, [minFreq maxFreq]);
Please refer to the following link for more details on the usage of ‘FrequencyLimits’:
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Continuous Wavelet Transforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!