我明白你的意思,是load的使用问题,可是当我把程序第一行改为
x=load('noisdopp.mat');
再运行后,又出现了这种问题:
?? Error using ==> conv2
Function 'conv2' is not defined for values of class 'struct'.
Error in ==> C:\MATLAB6p5\toolbox\wavelet\wavelet\wconv.m
On line 32 ==> y = conv2(x(:)',f(:)'); if size(x,1)>1 , y = y'; end
Error in ==> C:\MATLAB6p5\toolbox\wavelet\wavelet\dwt.m (convdown)
On line 80 ==> y = wconv('1D',x,f);
Error in ==> C:\MATLAB6p5\toolbox\wavelet\wavelet\dwt.m
On line 72 ==> a = convdown(y,Lo_D,lenKEPT,shift);
Error in ==> C:\MATLAB6p5\toolbox\wavelet\wavelet\wavedec.m
On line 45 ==> [x,d] = dwt(x,Lo_D,Hi_D); % decomposition
Error in ==> C:\MATLAB6p5\toolbox\wavelet\wavelet\ddencmp.m
On line 69 ==> [c,l] = wavedec(x,1,'db1');
Error in ==> C:\MATLAB6p5\work\example_noisdopp.m
On line 5 ==> [thr,sorh,keepapp]=ddencmp('den','wv',x); |