Pulkit Varshney
Member level 5
want to see a plot for isotropic point source antenna array but not getting the right output.
can anybody tell me where i am doing the mistake.
n=4; // no. of point sources
k=2; //(for distance between adjacent sources; d=lambda/k)
delta=0; //succesive phase diff
phi=0:0.1:2*pi; //angle
s=(2*pi*cos(phi)/k)+delta; //(=(beta*d*cos(phi))+delta)
E=(sin(n*s/2))/(n*sin(s/2)); //electric field
plot(phi,E)
can anybody tell me where i am doing the mistake.
n=4; // no. of point sources
k=2; //(for distance between adjacent sources; d=lambda/k)
delta=0; //succesive phase diff
phi=0:0.1:2*pi; //angle
s=(2*pi*cos(phi)/k)+delta; //(=(beta*d*cos(phi))+delta)
E=(sin(n*s/2))/(n*sin(s/2)); //electric field
plot(phi,E)