Code covered by the BSD License

# Phased Array Design Toolbox v2.5

### Neill Tucker (view profile)

10 Feb 2009 (Updated )

A toolbox allowing rapid definition and evaluation of 2D and 3D phased array antennas.

exgeopat.m
```% 3D PATTERN & ARRAY GEOMETRY (exgeopat)
%
% Shows the 3D pattern and array geometry for a 27-element
% circular array of patches.
%
% The array is squinted to theta=25, phi=45deg.
%
% The array element pitch is 0.6 lambda
%
% The array element is :
%
% Single rectangular patch
% Freq = 2.45GHz
% Er   = 3.43 (Rogers 4350)
% h    = 1.6mm

close all
clc

help exgeopat

init;                                                   % Initialise global variables
freq_config=2.45e9;                                     % Specify frequency
lambda=3e8/freq_config;                                 % Calculate wavelength
patchr_config=design_patchr(3.43,1.6e-3,freq_config);   % Use design_patchr to assign the patchr_config
% parameters.

circ_array(3,3,(0.6*lambda),(0.6*lambda),'patchr',0,'yes'); % Define 27-element circular array
%taywin_array(25,'r');                                  % Try applying an amplitude taper to the array
% by un-commenting this command.

squint_array(25,45,1);                                  % Steering the array to theta=25, phi=45 deg.

plot_geom3d(1,0);                                       % Plot 3D geometry with axis
list_array(0);                                          % List the array x,y,z locations and excitations only
calc_directivity(5,10);                                 % Calc directivity using 5deg theta steps and 10deg phi steps
plot_theta(-90,2,90,[0,45,90],'tot','none');            % Plot total power theta patterns -90 to +90 deg in 2deg steps
% for phi angles of 0,45,90. Normalise to the max of the
% 'first' cut (phi=0).

plot_geopat3d(5,10,'tot','no','surf',3);                % Plot a 3D directivity pattern using 5/10 deg theta/phi steps
% and overlay array geometry.```