Polar Plot in Matlab

Status
Not open for further replies.

ateet101

Newbie level 6
Joined
Jun 8, 2015
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
98
Hi,

I used a anechoic chamber to rotate a transmitting antenna from 0 to 360 with 2 degrees in between. I received gain at every two degrees for my antenna. For example at 2 deg I received -64dB and so on for each degree. I am able to view the radiation pattern on the analyzer, but I want to be able to plot it onto Matlab, so that I can put it in my report. Does anyone have an idea on how to plot it in polar format just like a radiationg pattern inmatlab? the data I receive looks like this as a example
degree = [0:2:360]
Gain = [-64,-67--64,-68.....(up to 180 numbers)]
Thanks in advance
 

Hi

The polar function in matlab is in radians so you need to get you increment of 2 deg in radians. This can be calculated as follows (2*pi/360)=0.0174532925199433/degree. For 2 degrees you take 0.0174532925199433*2 steps. Code is simple as per below:
Code:
theta = 0:0.0174532925199433*2:2*pi;
Gain = [-64,-67--64,-68.....(up to 180 numbers)]

figure
polar(theta,Gain,'--r')
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…