linear_array.m

来自「波束形成的一些程序 极坐标下的 有圆阵和线阵」· M 代码 · 共 15 行

M
15
字号
%This program print pattern for linear Array (uniform) Antenna by giing
%N,alfa,d
%and the wavelength you work with
%if you want full pattern maultiply this pattern by any Antenna pattern
%Have a nice Pattern "Arabia Tech"
lamda=input('enter the value of wave length= ');
N=input('enter the no. of elements= ');
alfa=input('enter your progressive phase= ');
d=input('enter the seperation distance between elements= ');
B=(2*pi/lamda);
theta= pi/100:pi/100:2*pi;
w=alfa+B*d.*cos(theta);
AF=sinc(N*(w./2))./sinc(w./2);
subplot(2,3,3)
polar(theta,AF)

⌨️ 快捷键说明

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