range

Range of radio wave propagation

Description

example

r = range(propmodel,tx,pl)returns the range of radio wave propagation from the transmitter site.

Examples

collapse all

Specify transmitter and 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 range of transmitter using the rain propagation model and a path loss of 127 dB.

r = range(pm,tx,127)
r = 2.1123e+04

Input Arguments

collapse all

Propagation model, specified as a character vector or string.

Data Types: char

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

Data Types: char

Path loss, specified as a scalar in decibels.

Data Types: double

Output Arguments

collapse all

Range, returned as a scalar or M-by-1 array with each element in meters. M is the number of TX sites.

Range is the maximum distance for which the path loss does not exceed the value of specified pl.

Introduced in R2017b