×
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.

# Directivity calculation in Matlab for circular array-suggestions?

## Directivity calculation in Matlab for circular array-suggestions?

(OP)
Hi everyone,

Could someone help me out in calculating the Directivity of my circular array. I'm using Matlab and I'm pretty certain my method is not correct (explained a little below).

Very Briefly, this is how I generate the Array factor:

a1=-50;b1=50;c1=.2;
[fx,fy]=meshgrid(a1:c1:b1,a1:c1:b1);
t=linspace(0,2*pi,250)

And inside a loop:

for k=1:length(t)
x=cos((t)+offset); y=sin((t)+offset);

AF1=AF1+ArrF;

And I plot it with:

dbaf=20*log10(abs(AF1));
mesh(fx,fy,dbaf);

And this is how the Array and the Array factor looks if that helps:
http://img110.imageshack.us/img110/5355/af7rq.jpg

So now I have my Array factor AF1 which is a 501x501 array and here is where I could use some help in calculating the directivity.

I tried calculating the directivity this way:

theta=linspace(0,180*pi/180,501);
phi=linspace(0,360*pi/180,501);
[thtmesh,phimesh]=meshgrid(theta,phi);

dth=theta(2)-theta(1);
dph=phi(2)-phi(1);

But as I mentioned...I doubt this gives a correct value...I used linspace to set theta and phi to 501 so that the matrix dimensions match AF1...and I have no clue if the value I get is right.

Could someone help me out with the Directivity here?
Sorry if my query is too long but I thought it would help if I was as descriptive as possible.

Thanks!

### RE: Directivity calculation in Matlab for circular array-suggestions?

Average directivity should be 0 dBi (assuming that the mass is constant *).

* subtle joke.

### RE: Directivity calculation in Matlab for circular array-suggestions?

Directivity for most antennas is pretty accurate (in dB) as 10* log [41,000/[(beamwidth 1)*(beamwidth 2)]]. beamwidth 1&2 are principal planes in orthogonal (perpindicular) directions.
compare that to your results as a quick check, it should be within 1 dB unless those sidelobes in your chart are very high.

kch

#### 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.

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!