how i get wavelet coefficient after 5-level?
이전 댓글 표시
i work with ecc signal classification, and i use wavelet transform my signal have 1024 sample and after i make 5-level it should be 32-sample. but i get 5-app and 5-det each one have 1024 sample also , so ,how i get the only 32 sample ( as a feature ) which represent the ecg-signal . thanks,
답변 (1개)
Wayne King
2012년 8월 24일
You need to set the dwtmode to periodization
dwtmode('per');
x = randn(1024,1);
[C,L] = wavedec(x,5,'db4');
% get level-5 wavelet coefficients
d5 = detcoef(C,L,5);
length(d5)
카테고리
도움말 센터 및 File Exchange에서 Wavelet Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!