sigstrength

Signal strength due to transmitter

Description

example

ss = sigstrength(rx,tx) returns the signal strength at the receiver site due to the transmitter site.

ss = sigstrength(rx,tx,propmodel) returns the signal strength at the receiver site using the specified propagation model. Specifying propagation model is same as specifying the 'PropagationModel' name-value pair.

ss = sigstrength(___,Name,Value) returns the signal strength using additional options specified by Name,Value pairs and either of the previous syntaxes.

Examples

collapse all

Create a transmitter site.

tx = txsite('Name','MathWorks', ...
        'Latitude', 42.3001, ...
        'Longitude', -71.3503);

Create a receiver site with sensitivity defined (in dBm).

rx = rxsite('Name','Boston', ...
        'Latitude', 42.3601, ...
        'Longitude', -71.0589, ...
        'ReceiverSensitivity', -90);

Calculate the received power and link margin. Link margin is the difference between the receiver's sensitivity and the received power.

ss = sigstrength(rx,tx)
ss = -144.4685
margin = abs(rx.ReceiverSensitivity - ss)
margin = 54.4685

Input Arguments

collapse all

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

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

Propagation model, specified as a character vector or string. You can also use the name-value pair 'PropagationModel' to specify this parameter. You can also use the propagationModel function to define this input.

Data Types: char | string

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'Type','power'

Type of signal strength to compute, specified as 'power' or 'efield'.

Power is expressed in power units (dBm).of signal at receiver input. E-Field is expressed in electric field strength units (dBuV/m) of signal wave incident on antenna.

Data Types: char | string

Propagation model to use for path loss calculations, specified as 'freespace', 'close-in', 'rain', 'gas', 'fog', or as an object created using the propagationModel function.

Data Types: char | string

Map for surface data, specified as a siteviewer object or a terrain name. Valid terrain names are 'none', 'gmted2010', or the name of the custom terrain data added using addCustomTerrain. The default value is the current Site Viewer or 'gmted2010', if none is open.

Data Types: char | string

Output Arguments

collapse all

Signal strength, returned as M-by-N array in dBm. M is the number of TX sites and N is the number of RX sites.

Introduced in R2017b