Code covered by the BSD License
Electromagnetizery (view profile)
25 Sep 2012
Array Factor for dipoles. Adjustable number of elements, progressive phase, and separation distance.
Watch this File
I just made this to be able to visualize the effect of changing some of the parameters of a simple array. I think this is right but I am still an undergrad so expect problems ;)
The array factor calculation on line 167 needs to be the magnitude of the complex value computed not the real part (use 'abs' instead of 'real'). Other than that it is a great little program.