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

📄 dmakessfigure10_2.m

📁 beamlet变化的工具箱
💻 M
字号:
function MakeSSFigure10_2(varargin)
% MakeSSFigure10_2.m -- Figure 10_2 of Slant Stack Paper
% Usage: MAKESSFIGURE10_2 will start a new figure window and plot Figure 10_2 of Slant Stack Paper.
%        MAKESSFIGURE10_2(n) for any argument type n will plot the figure on the current figure 
%        window and plot Figure 10_2 of Slant Stack Paper.
if nargin == 0
	 figure;
else
     gcf;
end

% Illustrate unequal sampling
%figure
m = 16;
n =  8;
k =  3;
%
t1 = [-k:k];
t2 = linspace(-k,k,m+1);

t3 = linspace(-n,n,1024);
x3 = 1.3+ cos( (2*pi)/m * 2 * t3 ) - sin( (2*pi)/m * 3 * t3 )/4 ;
x1 = 1.3 + cos( (2*pi)/m * 2 * t1 ) - sin( (2*pi)/m * 3 * t1 )/4 ;
x2 = 1.3+ cos( (2*pi)/m * 2 * t2 ) - sin( (2*pi)/m * 3 * t2 )/4 ;
plot(t3,x3,'k');
hold on
plot(t1,0*t1,'or');
plot(t1,x1,'or');
for i=1:length(t1),
	plot([t1(i) t1(i)], [0 x1(i)],'r')
end

% plot(t2,0*t2,'xb');
% plot(t2,x2,'xb');
% for i=1:length(t2),
% 	plot([t2(i) t2(i)] ,[0 x2(i)],'b')
% end
hold off
axis off

%% Part of BeamLab Version:200% Built:Friday,23-Aug-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%%% Part of BeamLab Version:200% Built:Saturday,14-Sep-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%

⌨️ 快捷键说明

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