plot antenna pattern in matlab

Status
Not open for further replies.

Dummyeng

Member level 4
Joined
Mar 25, 2018
Messages
78
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
434
hi
i want to plot radiation pattern of this function and show like how balanis show in his book but i couldnt
i wrote a code but it didnt work appropriately


Code:
phi1=(0:1:360);
teta1=(0:1:180);
phi=deg2rad(phi1);
teta=deg2rad(teta1);
rad1= cos(teta) .*cos(phi)';
plot(rad1)

how can i see it in below shape(BAlanis)?
 

Attachments

  • Untitled.jpg
    71.1 KB · Views: 125

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