⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 toon0551.m

📁 老外写的小波变换的工具箱
💻 M
字号:
% toon0551 -- Four Spatially Inhomogenoeus Signals
%
%  These four signals are caricatures of signals arising
%  in scientific signal processing.
%
%  Blocks is a piecewise constant signal, a caricature of a scan line
%  through a 2-d image depicting an object with several edges.
%
%  Bumps is a very peaky signal, a caricature of an NMR Spectrum.
% 
%  HeaviSine is a sinusoid with two clicks.
%
%  Doppler is an attenuating sinusoid with time-varying frequency.
%
%  These objects are interesting to us because they portray significant
%  spatial inhomogeneity.
%
global xblocks xbumps xheavi xDoppler
global yblocks ybumps yheavi yDoppler
global t N rho
%
	N = 2048;
	rho = 7;
	t = (0:(N-1))/N;
%
	HeaviSine = MakeSignal('HeaviSine',N);
	Bumps     = MakeSignal('Bumps',N);
	Blocks    = MakeSignal('Blocks',N);
	Doppler   = MakeSignal('Doppler',N);
%
	[xblocks,yblocks] = NoiseMaker(Blocks,rho);
	[xbumps,ybumps]   = NoiseMaker(Bumps,rho);
	[xheavi,yheavi]   = NoiseMaker(HeaviSine,rho);
	[xDoppler,yDoppler] = NoiseMaker(Doppler,rho);

%
clf;
versaplot(221,t,xblocks, [],' 1 (a) Blocks '   ,[],[])
versaplot(222,t,xbumps,  [],' 1 (b) Bumps '    ,[],[])
versaplot(223,t,xheavi,  [],' 1 (c) HeaviSine ',[],[])
versaplot(224,t,xDoppler,[],' 1 (d) Doppler '  ,[],[])

    
    
  %%  Part of Wavelab Version 850%  Built Tue Jan  3 13:20:43 EST 2006%  This is Copyrighted Material%  For Copying permissions see COPYING.m%  Comments? e-mail wavelab@stat.stanford.edu 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -