main content

visualize cdl channel model characteristics -凯发k8网页登录

this example shows how to visualize cdl channel characteristics and explore channel information about the antenna element, element pattern, and cluster paths.

define the channel configuration structure by using an system object. specify the delay profile as cdl-d.

cdl = nrcdlchannel;
cdl.delayprofile = 'cdl-d';

configure the transmit array size as a vector of the form [mnpmgng]=[43212], which specifies two rectangular panels (mg=1and ng=2) of a 4-by-3 antenna array (m=4 and n=3) and two polarizations (p=2). the total number of polarized elements in the array is m×n×p×mg×ng=48.

txsize = [4 3 2 1 2];
cdl.transmitantennaarray.size = txsize;

configure the vertical and horizontal element spacing and the vertical and horizontal panel spacing, in wavelength, as a vector of the form [λvλhdgvdgh]. because panel spacing is measured from the center of the panels, to avoid panel overlapping, set dgh to a value greater than 1 wavelength. to ensure uniform antenna element spacing across vertically and horizontally separated panels, configure panel spacings as dgv=λv×m and dgh=λh×n, respectively.

lambda_v = 0.5;
lambda_h = 0.5;
dg_v = lambda_v*txsize(1); % lambda_v * m
dg_h = lambda_h*txsize(2); % lambda_h * n
cdl.transmitantennaarray.elementspacing = [lambda_v lambda_h dg_v dg_h];

configure the mechanical orientation of the array as [αβγ]t=[0150]t, which specifies 0 degrees bearing, 15 degrees downtilt, and 0 degrees slant.

cdl.transmitarrayorientation = [0 15 0]';

for an overview of all other transmit antenna array properties, see the property of the nrcdlchannel system object.

display the channel characteristics at the transmitter end.

figtx = displaychannel(cdl,'linkend','tx');

the generated figure supports customized data tips. add data tips in the current figure by enabling the data cursor mode.

datacursormode on;

figure contains an axes object. the axes object with title delay profile: cdl-d. site: transmitter, xlabel $ x / lambda $, ylabel $ y / lambda $ contains 79 objects of type patch, line, surface, quiver. these objects represent antenna panel, polarization 2, polarization 1, element pattern, cluster paths.

with data cursor mode enabled, explore channel characteristics by adding data tips. to create a data tip, click a data point. to create multiple data tips, press the shift key while clicking the data points.

for example, this figure shows data tips added to the antenna element, element pattern, and cluster paths at the transmitter end.

  • antenna element data tips include information about the position, polarization angle, and element number of each antenna element. the element numbers indicate the order in which the channel model maps input signals column-wise to antenna elements. for more details, see the transmitantennaarray.size property of the nrcdlchannel system object.

  • element pattern data tips include the directivity corresponding to any azimuth and zenith angles.

  • cluster path data tips include the average path gain and azimuth and zenith angles of the cluster path.

visualize and explore channel characteristics at the receiver end. to customize the receive antenna array, use the property of the nrcdlchannel system object. then, display the channel characteristics at the receiver end by calling the displaychannel function with the 'linkend','rx' name-value pair argument.

figrx = displaychannel(cdl,'linkend','rx');

explore channel information about the antenna element, element pattern, and cluster paths at the receiver end by enabling data cursor mode for the current figure.

datacursormode on;

figure contains an axes object. the axes object with title delay profile: cdl-d. site: receiver, xlabel $ x / lambda $, ylabel $ y / lambda $ contains 31 objects of type line, surface, quiver. these objects represent polarization 2, polarization 1, element pattern, cluster paths.

see also

functions

  • |

objects

related topics

    网站地图