sigstrength
Received signal strength
Description
specifies options using namevalue arguments, in addition to any combination of
arguments from the previous syntaxes. For example,
ss
= sigstrength(___,Name,Value
)"Type","efield"
returns the signal strength in electric field
strength units (dBμV/m).
Examples
Received Power and Link Margin at Receiver
Create a transmitter site.
tx = txsite('Name','Fenway Park', ... 'Latitude', 42.3467, ... 'Longitude', 71.0972);
Create a receiver site with sensitivity defined (in dBm).
rx = rxsite('Name','Bunker Hill Monument', ... 'Latitude', 42.3763, ... 'Longitude', 71.0611, ... '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 = 71.1414
margin = abs(rx.ReceiverSensitivity  ss)
margin = 18.8586
Signal Strength Using Ray Tracing Propagation Model
Launch Site Viewer with buildings in Chicago. For more information about the osm file, see [1].
viewer = siteviewer("Buildings","chicago.osm");
Create a transmitter site on a building.
tx = txsite("Latitude",41.8800, ... "Longitude",87.6295, ... "TransmitterFrequency",2.5e9);
Create a receiver site near another building.
rx = rxsite("Latitude",41.881352, ... "Longitude",87.629771, ... "AntennaHeight",30);
Compute the signal strength by using a ray tracing propagation model. By default, the ray tracing model uses the SBR method, and performs lineofsight and tworeflection analysis.
pm = propagationModel("raytracing");
ssTwoReflections = sigstrength(rx,tx,pm)
ssTwoReflections = 54.3015
Plot the propagation paths for SBR with up to two reflections.
raytrace(tx,rx,pm)
Compute signal strength with analysis up to two reflections, where total received power is the cumulative power of all propagation paths
pm.MaxNumReflections = 5; ssFiveReflections = sigstrength(rx,tx,pm)
ssFiveReflections = 53.3889
Observe the effect of material by replacing default concrete material with perfect reflector.
pm.BuildingsMaterial = "perfectreflector";
ssPerfect = sigstrength(rx,tx,pm)
ssPerfect = 39.6703
Plot the propagation paths for SBR with up to five reflections.
raytrace(tx,rx,pm)
Appendix
[1] The osm file is downloaded from https://www.openstreetmap.org, which provides access to crowdsourced map data all over the world. The data is licensed under the Open Data Commons Open Database License (ODbL), https://opendatacommons.org/licenses/odbl/.
Input Arguments
rx
— Receiver site
rxsite
object  array of rxsite
objects
Receiver site, specified as a rxsite
object. You can use array inputs to
specify multiple sites.
tx
— Transmitter site
txsite
object  array of txsite
objects
Transmitter site, specified as a txsite
object. You can use array inputs to
specify multiple sites.
propmodel
— Propagation model to use for path loss calculations
"longleyrice"
(default)  "freespace"
 "closein"
 "rain"
 "gas"
 "fog"
 "raytracing"
 propagation model created with propagationModel
Propagation model to use for the path loss calculations, specified as one of these options:
"freespace"
— Free space propagation model"rain"
— Rain propagation model"gas"
— Gas propagation model"fog"
— Fog propagation model"closein"
— Closein propagation model"longleyrice"
— LongleyRice propagation model"tirem"
— TIREM™ propagation model"raytracing"
— Ray tracing propagation model that uses the shooting and bouncing rays (SBR) method. When you specify a ray tracing model as input, the function incorporates multipath interference by using a phasor sum.A propagation model created with the
propagationModel
function
The default value depends on the coordinate system used by the input sites.
Coordinate System  Default propagation model value 

"geographic" 

"cartesian" 

Terrain propagation models, including "longleyrice"
and
"tirem"
, are only supported for sites with a
CoordinateSystem
value of
"geographic"
.
You can also specify the propagation model by using the
PropagationModel
namevalue pair argument.
NameValue Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Namevalue arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
Example: "Type","power"
Type
— Type of signal strength to compute
"power"
(default)  "efield"
Type of signal strength to compute, specified as one of these options:
"power"
— The signal strength is in power units (dBm) of the signal at the mobile receiver input."efield"
— The signal strength is in electric field strength units (dBμV/m) of signal wave incident on the antenna.
Data Types: char
 string
PropagationModel
— Propagation model to use for path loss calculations
"freespace"
 "closein"
 "rain"
 "gas"
 "fog"
 "longleyrice"
 "raytracing"
 propagation model created with propagationModel
Propagation model to use for the path loss calculations, specified as one of these options:
"freespace"
— Free space propagation model"rain"
— Rain propagation model"gas"
— Gas propagation model"fog"
— Fog propagation model"closein"
— Closein propagation model"longleyrice"
— LongleyRice propagation model"tirem"
— TIREM propagation model"raytracing"
— Ray tracing propagation model that uses the shooting and bouncing rays (SBR) method. When you specify a ray tracing model as input, the function incorporates multipath interference by using a phasor sum.A propagation model created with the
propagationModel
function
The default value depends on the coordinate system used by the input sites.
Coordinate System  Default propagation model value 

"geographic" 

"cartesian" 

Terrain propagation models, including "longleyrice"
and
"tirem"
, are only supported for sites with a
CoordinateSystem
value of
"geographic"
.
Data Types: char
 string
Map
— Map for visualization or surface data
siteviewer
object  triangulation
object  string scalar  character vector
Map for visualization or surface data, specified as a siteviewer
object, a triangulation
object, a string scalar, or a character vector.
Valid and default values depend on the coordinate system.
Coordinate System  Valid map values  Default map value 

"geographic" 


"cartesian" 


^{a} Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks^{®}. 
Data Types: char
 string
Output Arguments
ss
— Signal strength
MbyN array
Signal strength, returned as MbyN array, where M is the number of transmitter sites and N is the number of receiver sites.
The units of ss
depend on the value of the
Type
namevalue argument.
When you specify
Type
as"power"
, thenss
is in power units (dBm) of the signal at the mobile receiver input.When you specify
Type
as"efield"
, thenss
is in electric field strength units (dBμV/m) of signal wave incident on the antenna.
Version History
Introduced in R2017bR2022b: Ray tracing functions consider multipath interference
When calculating received power using ray tracing models, the
sigstrength
function now considers multipath interference
by using a phasor sum. In previous releases, the function used a power sum. As a
result, the calculations in R2022b are more accurate than in previous
releases.
R2021b: "raytracing"
propagation models use SBR method
Starting in R2021b, when you use the sigstrength
function and
specify the propmodel
argument or
PropagationModel
namevalue argument as
"raytracing"
, the function uses the shooting and bouncing
rays (SBR) method and calculates up to two reflections. In previous releases, the
sigstrength
function uses the image method and calculates
up to one reflection.
To calculate received signal strength using the image method instead, create a
propagation model by using the propagationModel
function. Then, use the
sigstrength
function with the propagation model as input.
This example shows how to update your
code.
pm = propagationModel("raytracing","Method","image"); ss = sigstrength(rx,tx,pm)
For information about the SBR and image methods, see Choose a Propagation Model.
Starting in R2021b, all RF Propagation functions use the SBR method by default and calculate up to two reflections. For more information, see Default modeling method is shooting and bouncing rays method.
See Also
link
 sinr
 propagationModel
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
 América Latina (Español)
 Canada (English)
 United States (English)
Europe
 Belgium (English)
 Denmark (English)
 Deutschland (Deutsch)
 España (Español)
 Finland (English)
 France (Français)
 Ireland (English)
 Italia (Italiano)
 Luxembourg (English)
 Netherlands (English)
 Norway (English)
 Österreich (Deutsch)
 Portugal (English)
 Sweden (English)
 Switzerland
 United Kingdom (English)