cwtfilterbank magnitude linear scale

3 ビュー (過去 30 日間)
Jhon Gray
Jhon Gray 2023 年 5 月 14 日
編集済み: Binaya 2024 年 8 月 21 日
I am using the cwtfilterbank function to generate a scalogram from a signal. However, the frequencies on the Y-axis of the scalogram are not linear. I have read the documentation for cwtfilterbank, but I couldn't find a direct solution. What changes can I make to achieve a linear frequency scale on the scalogram?
fb = cwtfilterbank('SignalLength',signalLength,'Wavelet','amor','SamplingFrequency',Fs,'VoicesPerOctave',48, 'FrequencyLimits', [0 40])
[wt,f] = fb.wt(sig);
im = ind2rgb(im2uint8(rescale(abs(wt))),jet(256));

回答 (1 件)

Binaya
Binaya 2024 年 8 月 21 日
編集済み: Binaya 2024 年 8 月 21 日
Hello Jhon
The "cwt" command plots a scalogram with filterbank and signal as input. Here, the frequency scale is plotted in log scale to represent the frequency components present in the filterbank generated by "cwtfilterbank".

カテゴリ

Help Center および File ExchangeContinuous Wavelet Transforms についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by