[求助]什么是小波等高线?
请高手指点:什么是小波等高线?在matlab中如何画小波等高线? contour~~回复:(qiuqia17)contour~~
本帖最后由 wdhd 于 2016-3-17 13:35 编辑我试了
load 3;
b=X;
b=b';
g=length(b);
t=0:g-1;
= wavedec(b,4,'sym4');
cfd = zeros(4,g);
for k = 1:4
d = detcoef(c,l,k);
d = d(ones(1,2^k),:);
cfd(k,:) = wkeep(d(:)',g);
end
cfd = cfd(:);
I = find(abs(cfd)
cfd(I)=zeros(size(I));
cfd = reshape(cfd,4,g);
fs=2e+6;
delta=1/fs;
a=2.^;
f=scal2frq(a,'sym4',delta);
contour(t,f,cfd);
结果和想象中的相去甚远.
可能是我的思路错了.
请指点!
页:
[1]