You are on page 1of 2

Matlab Program to demonstrate n array Broadside Antenna

clc
close all
clear all
f=input('Enter operting frequency in Hz=');
N=input('Enter number of elements N=');
lambda=(3e8)/f
d=input('enetr distance d in meter between element=')
beta=2*pi/lambda;
theta=0:0.01:2*pi;
psi=(beta*d*cos(theta));
z1=(N/2)*(psi);
z2=(1/2)*(psi);
AF=sin(z1)./sin(z2);
w=abs(AF);
polar(theta,w);
title('Polar pattern of Broadside array')
figure;
Enter operting frequency in Hz=100000000
Enter number of elements N=10

lambda =

enetr distance d in meter between element=0.75

d=

0.7500