scfig26.m

来自「老外写的小波变换的工具箱」· M 代码 · 共 27 行

M
27
字号
% scfig26 -- Short Course 26: Sine signal with Cauchy Contamination
%
% (Panel a) shows a sinusuoid and (Panel b) the same sinusoid
% contaminated with Cauchy noise. Cauchy noise has infinite variance and
% hence enormous outliers.  Those outliers skew the plot scaling so that
% they are the only thing visible in (Panel b).
%
global SineSig ySine
%
	SineSig = 4 .* sin( (1:729) ./40 );
% 	clf; 
	versaplot(211,[],SineSig,[],' 26 (a) Signal',[],[])
%
	z = WhiteNoise(SineSig) ./ WhiteNoise(SineSig); % Cauchy = Z/Z
	ySine = SineSig+z;
	versaplot(212,[],ySine,[],' 26 (b) Signal with Cauchy Noise',[],[]);
    
    
  %%  Part of Wavelab Version 850%  Built Tue Jan  3 13:20:42 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 + =
减小字号Ctrl + -
显示快捷键?