MATLAB: Plotting the beamwidth from a matrix

antenna patternbeamwidhplot

Hi everyone, i have this given matrix (Elevation, azimuth & gain) in the attachment. How can i plot the 3db-beamwidth of this antenna pattern ? I just want to see the pattern and want to calculate the 3db-beamwidth. Thank you so much.

Best Answer

Another way to compute the beamwidth is to plot the azimuth and Gain :
Data=load('data_ABS_antenna_CASMA.mat');
X=Data.ABS_antenna_gain;
Gain=X(:,3);
Azimuth=X(:,2);
[index,c]=find(Gain>=max(Gain)-3);
figure; plot(Azimuth(index),Gain(index),'*')
figure; plot(Azimuth,Gain,'*')
The beamwidth is 20° .