Main Content


Plot temporal and spatial profiles of ray-tracing channel



    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.


    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, ...
    rx = rxsite("Latitude",22.2799,"Longitude",114.1617, ...
    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.


    Figure contains 3 axes. Axes 1 with title Power Delay Profile contains an object of type stem. Axes 2 with title Angle of Departure contains 7 objects of type quiver, text. Axes 3 with title Angle of Arrival contains 7 objects of type quiver, text.

    Input Arguments

    collapse all

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

    See Also



    Introduced in R2020b