Hello.
I have been analyzing the AntennaArray code.
As indicated in the code, there is only single polarized.
AntennaArray.m
classdef AntennaArray < networkElements.bs.Antenna
%ANTENNAARRAY MIMO antennas according to 3GPP 3D TR 38.901
% This antenna is modelled by a uniform rectangular panel array with
% nPV*nPH panels. Antenna panels are uniformly spaced in the horizontal
% direction with a spacing of dPH and in the vertical direction with a
% spacing of dPV. On each antenna panel, nV*nH antenna elements are
% uniformly spaced in the horizontal direction with a spacing of dH and
% in the vertical direction with a spacing of dV. The antenna panel is
% single polarized.
%
% see also parameters.basestation.antennas.AntennaArray
I would like to know if there is any provision for creating a dual polarized AntennaArray. If not, what would be necessary?
I am asking because I noticed that one of the functions to be used in the process is already done.
Precoder5GDL.m
function codebook = calculateCodebook(obj, N1, N2)
% Calculate codebooks for an antenna array for up to 8 layers
% according to TS 38.214 (V15.3.0) with codebookmode = 1
%
% input:
% N1: number of rf chains in horizontal direction
% N2: number of rf chains in vertical direction
% output:
% codebook: [1x8]cell with
% [nTx x nLayers x nPrecoders]complex codebook
%
% This function is for future use, since we don't support
% dual polarized arrays yet.
% usage: codebook for L layers and PMI = i: codebook{L}(:,:,i)
Thank you in advance for your help.