www.gusucode.com > 自己编写的一个基于matlab的图像压缩程序,有GUI界面,不能程度的压缩效果以及信噪比 > 自己编写的一个基于matlab的图像压缩程序,有GUI界面,不能程度的压缩效果以及信噪比/BP神经网络的图像压缩/wavelets压缩/numvanish.m
function N = numvanish(g) % Determine the number of vanishing moments from highpass filter g(z) for N = 0:length(g)-1 % Count the number of roots at z = 1 [g,r] = deconv(g,[1,-1]); if norm(r,inf) > 1e-7, break; end end return;