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

📄 fig2_4a.m

📁 these are the Mtlab functions to plot the figures in the book Communication system (by Haykin)
💻 M
字号:
%ploting the temporal frequency caused by translational motion

vx=3; vy=4;
for fx=-5:5
   for fy=-5:5
      ft(fy+6,fx+6)=-vx*fx-vy*fy;
   end;
end;

ft0=zeros(11,11);

figure;
mesh(-5:5,-5:5,ft0);
%surf(-5:5,-5:5,ft0);
hold on;
mesh(-5:5,-5:5,ft);
%surf(-5:5,-5:5,ft);
view(30,20);
%xlabel('f_x');ylabel('f_y');zlabel('f_t');
%text(-1,-6,-60,'\fontname{time} \fontsize{10} f_x');
%text(6,1,-60,'\fontname{time} \fontsize{10} f_y');
text(-1,-6,-50,'f_x');
text(6,1,-50,'f_y');
text(-5.5,-7.0,0,'f_t');
text(-4,-4,35,'(v_x,v_y)=(3,4)');
text(2,2,20,'(v_x,v_y)=(0,0)')
colormap(gray)
print -deps2 linear_motion.eps

⌨️ 快捷键说明

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