斯坦福大学的小波的工具箱 比matlab自带的工具箱更完善

源代码在线查看: wt07fig04.m

软件大小: 2793 K
上传用户: cenxudong4
关键词: matlab 工具箱 斯坦福 大学
下载地址: 免注册下载 普通下载 VIP

相关代码

				% CAPTION
				fprintf('\n');
				disp('Figure 7.4')
				disp('The solid line gives the transfer function (modulus squared)')
				disp('of the low-pass conjugate mirror filter h, which generates a')
				disp('cubic spline multiresolution. The dotted line gives the transfer')
				disp('function (modulus squared) of the high pass filter g on [-pi,pi].')
				
				close all;
				% axes handles	
					delta = 1/8;
					unit = (1-2*delta)/2;
					h= [delta delta 1-2*delta unit];
				N = 1024;
				M = pi;
				omega = ((1:N)/N -.5) * 2 * M;
				omega(N/2) = omega(N/2+1)/100;
				hsquared(1:1023) = Sigma8(omega(1:1023)) ./(2^7 .* ...
				    Sigma8(2.*omega(1:1023)));
				hsquared(1024)=0;
				gsquared = fftshift(hsquared);
				figure(1);clf
				axes('position',h);
				plot(omega,hsquared);
				hold on
				plot(omega,gsquared,'b--');
				axis([-pi pi 0 2.1])
				
				% Written by Maureen Clerc and Jerome Kalifa, 1997
				% clerc@cmapx.polytechnique.fr, kalifa@cmapx.polytechnique.fr
				    
				    
				%   
				% Part of WaveLab Version 802
				% Built Sunday, October 3, 1999 8:52:27 AM
				% This is Copyrighted Material
				% For Copying permissions see COPYING.m
				% Comments? e-mail wavelab@stat.stanford.edu
				%   
				    
							

相关资源