MATLAB 帮助中心
Full-weight CWT filter bank for deep learning
Since R2022b
psif = filterbank(clayer)
psif = filterbank(clayer) returns the full-weight continuous wavelet transform (CWT) filter bank for clayer.
psif
clayer
example
collapse all
Create a cwtLayer for a signal of length 2048 samples. Specify the analytic Morlet wavelet.
cwtLayer
clayer = cwtLayer(SignalLength=2048,Wavelet="amor");
Obtain the full-weight CWT filter bank of the layer.
psif = filterbank(clayer);
Plot the filter bank.
slen = clayer.SignalLength; f = 0:1/slen:1-1/slen; plot(f,psif') xlim([0 1/2]) xlabel("Cycles/Sample") ylabel("Magnitude") title("Full-Weight Filter Bank")
Create a CWT filter bank. Specify the same wavelet and signal length you used to create the CWT layer. Obtain the two-sided frequency responses of the wavelet filters in the filter bank. Compare with the full-weight CWT filter bank.
fb = cwtfilterbank(SignalLength=2048,Wavelet="amor", ... Boundary="periodic"); psidft = freqz(fb,FrequencyRange="twosided"); max(abs(psidft(:)-psif(:)))
ans = single 5.9544e-08
icwtLayer
Deep learning layer, specified as a cwtLayer or icwtLayer object.
Full-weight CWT filter bank, returned as a matrix.
Data Types: double
double
expand all
You can obtain the full-weight CWT filter bank for an icwtLayer object.
dlcwt
dlicwt
array2cwtfilters
cwtfilters2array
cwtfilterbank
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处