| Author |
Message |
zhiweisim
Joined: 19 Feb 2009 Posts: 26
|
07 Aug 2009 15:42 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
|
|
| Back to top |
|
 |
Google AdSense

|
07 Aug 2009 15:42 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
asturias
Joined: 14 Mar 2008 Posts: 62 Helped: 6
|
07 Aug 2009 22:29 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
|
|
| Back to top |
|
 |
zhiweisim
Joined: 19 Feb 2009 Posts: 26
|
10 Aug 2009 17:52 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.
|
|
| Back to top |
|
 |
asturias
Joined: 14 Mar 2008 Posts: 62 Helped: 6
|
11 Aug 2009 7:21 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
|
|
| Back to top |
|
 |
zhiweisim
Joined: 19 Feb 2009 Posts: 26
|
11 Aug 2009 10:39 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.
|
|
| Back to top |
|
 |