📄 steer.m
字号:
%This Program is Designed for Calculation of A Generalized Null Steering Broadside Beam former Weights Vector
%General Antenna Array Specifications
a = input ('The Number of Array Elements : ') ;
d = input ('The Separation Distance Between Elements : ') ;
f = input ('The Operation Frequency : ') ;
%Input Received Signals Arrival
b = input ('The Angle of Incidence of The Desired Source Signal : ') ;
Msgbox ('Enter The Angle of Incidence of The Interference Un-Desired Source Signals Respectively ') ;
pause
for I = 1 : a-1
A(I) = input ('The Angle of Incidence of the Undesired Interference Source Signal : ') ;
end
%Estimation of The Weight Vector of A Null Steering Beamformer
for I = 1 : a
for J = 1 : a
if I ==1
S ( I , J ) = exp ( i*( 2*pi*f*d*( J-1 )*cos ( b ))/( 3*10^8 )) ;
Z ( I ) = 1 ;
else
S ( I , J ) = exp ( i*(2*pi*f*d*( J-1 )*cos ( A(I-1) ))/( 3*10^8 )) ;
Z ( I )= 0 ;
end
end
end
W = ( pinv ( S ) * Z' ) ;
%Plot of The Output Radiation Pattern
t = 0 : 0.05 : 2*pi ;
M = 0 ;
for I = 1 : a
H = exp ( i*(2*pi*f*d*( I-1 )*cos ( t ))/( 3*10^8 )) ;
M = M + ( H * W(I) ) ;
end
M = abs ( M ) ;
Polar ( t , M , '-r' ) , title ( 'The Generalized Null Steering Beam Former Output Radiation Pattern ') , grid on ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -