matlab错误提示
matlab进行小波去噪 ,提示如下错误
??? Error using ==> wthcoef at 59
Invalid argument value.
Error in ==> signal_denoising3 at 38
nc=wthcoef('d',c,l,n,p);
MATLAB
[解决办法]
你这个情况,用5个参数调用时,必须满足:
1.N and P must be of same length.
2.Vector N must be such that 1 <= N(i) <= length(L)-2.
否则就会报错,建议你调用nc=wthcoef('d',c,l,n,p);前,检查一下n,l,p是否满足这2个条件