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

📄 partb.m

📁 The angles in degrees of the two spatially propagating signals Compute the array response vectors o
💻 M
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Part B
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Compute the spatial matched filter at 30 degrees
phi_smf = 30;
c_smf = exp(-j*2*pi*spacing*[0:(M-1)]'*sin(phi_smf*pi/180))/sqrt(M);
% The angles at which to evaluate the beampattern
phi = -90:0.2:90;
V = exp(-j*2*pi*spacing*[0:(M-1)]'*sin(phi*pi/180))/sqrt(M);
% Compute the beampatterns for electronic and mechanical steering
C_bp = V'*c_smf;
% Plot out the steered response in decibels
figure
plot(phi,20*log10(abs(C_bp)),'b','linewidth',2.5);
xlabel('Angle (deg)','fontweight','bold','fontsize',20);
ylabel('Power Response (dB)','fontweight','bold','fontsize',20);
set(gca,'fontweight','bold','fontsize',18);
axis([-90 90 -50 0]);
grid
set(gca,'xtick',-90:15:90);

⌨️ 快捷键说明

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