Solved

MATLAB - antenna pattern design

Posted on 2001-07-22
Medium Priority
5,306 Views
hi all,

i need to design an antenna pattern (eg. pencil-beam) for downlink beamforming using MATLAB.
0
Question by:mamai
• 2

LVL 4

Accepted Solution

prashant_n_mhatre earned 200 total points
ID: 6308309
Below is a MatLab code that computes an antenna pattern, normalizes the results to the peak, and plots the results as a function of theta:

kh=(2*pi);
theta(1)=0;
for i=1:1000
r(i)=sin(theta(i))*2*cos(kh*cos(theta(i)));
if(i<1000)
theta(i+1)=theta(i)+pi/1000;
end
end

dB=20*log(r/max(r));
plot(theta,dB)
axis([0 pi -70 0])
title('Plot of Radiation Pattern for l=10\lambda (the increase in # of lobes is significant)')
xlabel('\theta')
ylabel('dB')

0

LVL 4

Expert Comment

ID: 6344770
done?
0

LVL 54

Expert Comment

ID: 7487645

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
next seven days.

Nic;o)
0

LVL 5

Expert Comment

ID: 7518980
Per recommendation, force-accepted.

Netminder
0

Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project
Suggested Courses
Course of the Month13 days, 8 hours left to enroll