pathloss

Path loss of radio wave propagation

Description

example

pl = pathloss(propmodel,rx,tx)returns the path loss of radio wave propagation at the receiver site from the transmitter site.

Examples

collapse all

Specify the transmitter and the receiver sites.

tx = txsite('Name','MathWorks Apple Hill',...
       'Latitude',42.3001, ...
       'Longitude',-71.3504, ...
       'TransmitterFrequency', 2.5e9);
 
rx = rxsite('Name','Fenway Park',...
       'Latitude',42.3467, ...
       'Longitude',-71.0972);

Create the propagation model for heavy rainfall rate.

pm = propagationModel('rain','RainRate',50)
pm = 
  Rain with properties:

    RainRate: 50
        Tilt: 0

Calculate the pathloss at the receiver using the rain propagation model.

pl = pathloss(pm,rx,tx)
pl = 127.1559

Input Arguments

collapse all

Propagation model, specified as a character vector or string.

Data Types: char

Receiver site, specified as a rxsite object. You can use array inputs to specify multiple sites.

Data Types: char

Transmitter site, specified as a txsite object. You can use array inputs to specify multiple sites.

Data Types: char

Output Arguments

collapse all

Path loss, returned as a scalar or M-by-N arrays with each element in decibels. M is the number of TX sites and N is the number of RX sites.

Path loss is computed along the shortest path shortest path through space connecting the transmitter and receiver antenna centers.

For terrain propagation models, path loss is computed using terrain elevation profile that is computed at sample locations on the great circle path between the transmitter and the receiver. If Map is a siteviewer object with buildings specified, the terrain elevation is adjusted to include the height of the buildings.

Introduced in R2017b