weixiaocike 发表于 2006-12-21 11:24

求助:大家帮我看看这个问题

我编写了也一段程序,但是运行时总是报错,请大家帮我看看是那里的问题,谢谢

=dwt(s,g,h);
d5=wrcoef('d',c,l,g,h,5);
其中s是信号,g是低通滤波器系数,h是高通滤波器系数,我现在想重构出高频信号,但是总是报错,请问那里的问题呢?


Warning: Integer operands are required for colon operator when used as index.
> In detcoef at 59
In wrcoef at 67
In jiance1 at 17
??? Error using ==> wkeep1
Arg2: invalid argument value

Error in ==> upsconv1 at 41
    y = wkeep1(y,s,'c',dwtSHIFT);

Error in ==> wrcoef at 76
for k=2:n , x = upsconv1(x,Lo_R,l(imin+k),dwtATTR); end

Error in ==> jiance1 at 17
d5=wrcoef('d',c,l,g,h,5);

weixiaocike 发表于 2006-12-21 19:18

大家帮帮我吧,很急啊
页: [1]
查看完整版本: 求助:大家帮我看看这个问题