showProfile

Plot temporal and spatial profiles of ray-tracing channel

    Description

    example

    showProfile(rtchan) plots the power delay profile (PDP), angle of departure (AoD), and angle of arrival (AoA) information for the ray-tracing channels in a single figure with three subplots.

    • The PDP subplot is derived from the propagation delay, path loss, phase shift, pattern gain at transmit array and pattern gain at receive array for each ray specified by the PropagationRays property of the rtchan input.

    • The AoD and AoA subplots show the 3-D directions of the rays in the local coordinate system (LCS).

      • When the TransmitArray or ReceiveArray properties are objects from the Phased Array System Toolbox software, the AoD and AoA subplots also show the directivity pattern of the arrays.

    showProfile(rtchan,'ArrayPattern',false) optionally turns off the directivity pattern in the AoD and AoA subplots. This option applies only when the TransmitArray or ReceiveArray property in the comm.RayTracingChannel System object™ are objects from the Phased Array System Toolbox software.

    Examples

    collapse all

    Perform ray-tracing between two sites, build a multipath channel model using the ray tracing result, and show the temporal and spatial profiles of the channel.

    Create a transmitter site and a receiver site. Perform ray tracing to find rays with up to 2 reflections between the sites.

    tx = txsite("Latitude",22.2789,"Longitude",114.1625, ...
        "AntennaAngle",30,"AntennaHeight",10,"TransmitterFrequency",28e9);
    rx = rxsite("Latitude",22.2799,"Longitude",114.1617, ...
        "AntennaAngle",120,"AntennaHeight",1);
    rays = raytrace(tx,rx,"NumReflections",[0 1 2]);

    Create a channel model using transmitter site, receiver site, and calculated rays between the sites.

    rtchan = comm.RayTracingChannel(rays{1},tx,rx);

    Show temporal and spatial profiles of the channel.

    showProfile(rtchan);

    Input Arguments

    collapse all

    Ray-tracing channel, specified as a comm.RayTracingChannel System object.

    See Also

    Objects

    Functions

    Introduced in R2020b