Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matlab 3D antenna pattern plot

Status
Not open for further replies.

applearray

Electrical
May 27, 2004
1
Hi guys,

Who has any suggestion on 3d pattern plot like in text books of Kraus or Balanis? I figured out the dipole pattern. But for other pattern I didn't figure it out. Do you have any suggestions? Thanks! :)

my code:

lear all;

x=-0.5:.01:0.5;
y=(1+sqrt(1-4*x.^2))/2;
y2=(1-sqrt(1-4*x.^2))/2;

[X,Y,Z] = cylinder(y,40);
[X2,Y2,Z2]=cylinder(y2,40);
figure;
mesh(X,Y,Z,'edgecolor','blue')
hold on
mesh(X2,Y2,Z2,'edgecolor','blue')
hold off
axis equal
 
Replies continue below

Recommended for you

I don't know much about MathLab, but here is a tip for ANY antenna gain pattern data set (or plot):

The average gain (far field) over the entire sphere should be 0.0 dBi (or pretty darn close), not including any losses that might be included. This common sense rule applies to both mathematical models and real world data.

Depending on your data structure, you have to be careful when calculating the average. For example, if your data structure is essentially a Mercator projection (Az, El data points) - you will need to factor (cosine weight) the poles that are over-represented in the data set.

If the average gain is less than 0.0 dBi, then this indicates either system losses or an error. If the average gain is greater than 0.0 dBi, then this indicates either 'magic' <smirk> or an error.

This should be considered as an essential sanity check on any antenna pattern data set.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor