×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Matlab 3D antenna pattern plot

## Matlab 3D antenna pattern plot

(OP)
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

### RE: Matlab 3D antenna pattern plot

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.

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!