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

📄 conventioal.m

📁 传统的波束形成器的MATLAB仿真
💻 M
字号:

m=8;
j=sqrt(-1);
ad=exp(-j*pi*[0:m-1]'*sin(30*pi/180)); % array response vector in the direction of desired signal.期望方向阵列响应矢量
wop=ad;
thetas=[-90:90];
tm=thetas*pi/180;
am=exp(-j*pi*[0:m-1]'*sin(tm));
A=abs(wop'*am);  %array response阵列响应
A=A/max(A);
figure,polar(tm,A)
A=10*log10(A);  %log figure对数图
hold on,title('归一化阵列响应幅值极坐标图,八阵元')
figure,plot(thetas,A);
hold on,title('八阵元')
hold on,xlabel('入射角/度')
hold on,ylabel('归一化 A=10*log10(A);')
grid on 
hold on,plot(-45,-160:0.1:0,'r');
hold on,plot(0,-160:0.1:0,'r');
hold on,plot(30,-160:0.1:0,'r');
hold on,plot(60,-160:0.1:0,'r');

⌨️ 快捷键说明

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