필터 지우기
필터 지우기

Antenna 3D pattern at any giving angle

조회 수: 2 (최근 30일)
Irwin2020
Irwin2020 2019년 7월 3일
댓글: Bjorn Gustavsson 2019년 7월 5일
Hello everyone, I have crerated a 3D Antenna Patterns (simulation) , assuming the Ant patterns (radiation) pointing at 90 degree (looking from above), my goal here, is to change the radaition angle from 90 to 15 degree or from 90 to 175 degree (at any giving angle between 15 and 175 using contour or mesh function) . I have tried the camera view and rotation function but non of that a complished my goal , eventually I will put the mesh into for-loop and view it at any giving angle, Pease help me figuer out how to solve this issue.
f= 5.04e9; %frequncy in GHz
C= 3e8; % Global constant Speed of the light
d=21.5;
G_ant=3;
x= -5:0.01:5;
%%%%%%%%%%%% **************** %%%%%%%%%%%%
y= sin(x)';
xr=x*pi/180;
yr=y*pi/180;
a=sqrt(xr.^2+yr.^2);
x1= a*f*d/C;
sinc_xA= sinc(x1)+G_ant;
A=sinc_xA.^8;
z= 40*log10(A); %% array radiation pattern in dBs
%3D-Plot
figure(1)
% [xr,yr] = meshgrid(xr,yr);
mesh(xr,yr,z*4);
view(2)
xlabel('(degrees)');
ylabel('(degrees)');
zlabel('(Direction)');
figure(2)
contour(X,Y,abs(Z));
I appreciated any help
  댓글 수: 1
Bjorn Gustavsson
Bjorn Gustavsson 2019년 7월 5일
Maybe replace your:
view(2)
with
view(AZ,EL)
where AZ and EL are azimuth and elevation-angles in degrees.
HTH

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Antenna and Array Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by