Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Create antenna array

**Download Required:** To
use this function, first download the WINNER II Channel Model
for Communications Toolbox™ from the Add-On Explorer. For more information on downloading add-ons, see Get Add-Ons (MATLAB) and Manage Your Add-Ons (MATLAB).

`antArray = winner2.AntennaArray`

`antArray = winner2.AntennaArray(Name,Value)`

returns
a structure representing an antenna array with one isotropic antenna
element. Both the antenna array and the single element have no rotation
and are located at the origin, [0;0;0]. `antArray`

= winner2.AntennaArray

`antArray = winner2.AntennaArray(`

returns
a structure representing an antenna array defined using one or more `Name,Value`

)`Name,Value`

pair
arguments.

For more information, see Antenna Array Model.

Use the `winner2.AntennaArray`

function to
create an eight element uniform circular array (UCA-8) with a 1 cm
radius.

```
UCA8 = winner2.AntennaArray('UCA',8,0.01);
```

Plot element positions

pos = {UCA8.Element(:).Pos}; plot(cellfun(@(x) x(1),pos),cellfun(@(x) x(2),pos),'+'); xlim([-0.02 0.02]); ylim([-0.02 0.02]); title('UCA-8 Element Positions');

Use the `winner2.AntennaArray`

function to
create a two element uniform linear array (ULA-2) with 50 cm spacing
and the dipole elements slanted at +45 and -45 degrees.

az = -180:179; % 1-degree spacing pattern = cat(1,shiftdim(winner2.dipole(az,45),-1), ... shiftdim(winner2.dipole(az,-45),-1)); ULA2 = winner2.AntennaArray('ULA',2,0.5, ... 'FP-ECS',pattern,'Azimuth',az);

[1] Kyosti,
Pekka, Juha Meinila, et al. *WINNER II Channel Models*.
D1.1.2 V1.2. IST-4-027756 WINNER II, September 2007.