Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

how to plot a 3D sphere for antenna radiation pattern

Status
Not open for further replies.

zhiweisim

Junior Member level 3
Joined
Feb 19, 2009
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,534
phi theta antenna

Hi all,

I have obtained a dataset of an antenna containing:

1) phi (from 0 to 360 degree)
2) theta (from 0 to 180 degree)
3) magnitude at respective point (phi, theta)

May I know how to plot a 3D sphere (antenna radiation pattern) using MATLAB? Is there any other better software to use to plot it easily? Please advice. Many thanks.

Sim
 

asturias

Member level 3
Joined
Mar 14, 2008
Messages
62
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,288
Activity points
1,618
sphere antenna

Hello,

Yes, you can do it by using matlab,I've tried and I think that it works. If I understood well you want to plot your E-field or H-field or Gain (it is the same) as a function of phi and theta. you just have to plot A=f(theta,phi) what I suggest is to tranform your funtion in xyz coordinate system and then plot A as a function of x,y,z. When you do it I have a question of you that you may can have a suggestion
 

zhiweisim

Junior Member level 3
Joined
Feb 19, 2009
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,534
antenna radiation pattern plotting

hi asturias,

What MATLAB function that I can use after I converted them into xyz?

Attached is my spreadsheet file. Can you explain how do you convert them into xyz and how do you plot them showing a 3D sphere? Please help.

Thanks.
 

asturias

Member level 3
Joined
Mar 14, 2008
Messages
62
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,288
Activity points
1,618
xyz plot matlab

Hi,

I can not open your file,maybe it is saved in an old version..store them again and send them to me by pm or email. I guess it is just some values refering to an amplitude for all the correspondin theta,phi. A 2-d matrix. I'll make and m-file and send it to you
 

    zhiweisim

    points: 2
    Helpful Answer Positive Rating

zhiweisim

Junior Member level 3
Joined
Feb 19, 2009
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,534
plot a sphere

hi asturia,

Can you provide me your email address? Also, I have PM you with a re-attached winrar file containing the data (in txt format). Pleae let me know whether you can open the file. Thanks.
 

aamnamasood

Newbie level 3
Joined
Jul 26, 2009
Messages
3
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,292
hey I have similar set of data set, had you succeeded in ploting radiation pattern in matlab with the data set. please reply
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top