i am working a article 'Biorthogonal wavelet filters for compressed sensing ECG reconstruction' and Doi: https://doi.org/10.1016/j.bspc.2018.08.011
1: define Primal and dual coefficients (Df=primal coefficients and Rf=Dual coefficients) in dew1.mat
Df = [0.070710678 , 0.353553 , 0.565685 , 0.353553391 , 0.070710678 ];Rf = [0.082496255 , -0.41248, 0.271057 , 1.53206913 , 0.271057071 , -0.41248 , 0.082496];save('dew1','Df','Rf')
2: add my wavelet with 'wavemngr'command in matlab: wavemngr('add','dewlet','dew1',2,'','dew1.mat')
3: plot wavelet and scaling filters in synthesis and recostruction section:
[LoD,HiD,LoR,HiR] = wfilters('dew1');
[LoD' HiD' LoR' HiR']=
0 -0.0825 0.0825 0
0 -0.4125 -0.4125 0
0.0707 -0.2711 0.2711 0.0707
0.3536 1.5321 1.5321 -0.3536
0.5657 -0.2711 0.2711 0.5657
0.3536 -0.4125 -0.4125 -0.3536
0.0707 -0.0825 0.0825 0.0707
0 0 0 0
my question: why zero padding in matlab like above???How do I change this code to get the result of the article?(my result above and result of paper below) How do I change the code to get the result of the article?
0.0707 0 0.0825 0
0.3536 0.0825 -0.4125 -0.0707
0.5657 0.4125 0.2711 0.3536
0.3536 0.2711 1.5321 -0.5657
0.0707 -1.5321 0.2711 0.3536
0 0.2711 -0.4125 -0.0707
0 0 0.0825 0.4125
0 0 0 0.0825
question from:
https://stackoverflow.com/questions/65869890/i-am-trying-add-my-own-wavelet-with-wavemngr-command-in-matlb 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…