path loss of radio wave propagation -凯发k8网页登录
path loss of radio wave propagation
since r2019b
description
returns the path loss using additional options specified by
pl
= pathloss(___,name,value
)name,value
pairs.
examples
path loss of receiver in heavy rain
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.3208
input arguments
propmodel
— propagation model
propagation model object
propagation model, specified as a , , , , , , (antenna toolbox), or object.
create propagation models by using the function.
rx
— receiver site
rxsite
object
receiver site, specified as a rxsite
object. you can
use array inputs to specify multiple sites.
tx
— transmitter site
txsite
object
transmitter site, specified as a txsite
object. you can
use array inputs to specify multiple sites.
name-value arguments
specify optional pairs of arguments as
name1=value1,...,namen=valuen
, where name
is
the argument name and value
is the corresponding value.
name-value 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: 'map','none'
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
pl
— path loss
scalar | m-by-n arrays
path loss, returned as a scalar or m-by-n cell arrays containing a row vector of path loss values 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 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.
info
— information corresponding to each propagation path
m-by-n structure array | m-by-n cell array containing vector
of structures in each cell
information corresponding to each propagation path, returned as a m-by-n cell array containing vector of structures in each cell for ray tracing propagation models and m-by-n structure array for all other propagation models. the field and values for the structures are:
propagationdistance
— total distance of propagation path returned as a double scalar in meters.angleofdeparture
— angle of departure of signal from transmitter site antenna returned as a 2-by-1 double vector of azimuth and elevation angles in degrees.angleofarrival
— angle of arrival of signal at receiver site antenna returned as a 2-by-1 double vector of azimuth and elevation angles in degrees.numreflections
— number of reflections undergone by signal along propagation path, returned specified as0
,1
, or2
. this field and value is only for ray tracing propagation models.
angle values in this structure are defined using the local east-north-up
coordinate system of the antenna when coordinatesystem
is
set to geographic
. angle values in this structure are
defined using global cartesian coordinate system when
coordinatesystem
is set to
cartesian
. azimuth angle is measured either from east
(when 'geographic'
) or from the global x-axis around the
global z-axis (when 'cartesian'
). elevation angle is
measured from the horizontal (or x-y) plane to the x-axis of the antenna in
the range -90 to 90.
version history
introduced in r2019br2023a: ray tracing models discard paths based on path loss
ray tracing propagation models discard propagation paths based on path loss
thresholds. by default, when you specify the propmodel
input
argument as a
object, the propagation model discards paths that are more than 40 db weaker than
the strongest path.
as a result, the pathloss
function can return different
values in r2023a compared to previous releases. to avoid discarding propagation
paths based on relative path loss thresholds, set the
maxrelativepathloss
property of the ray tracing object to
inf
.
r2022b: ray tracing models using sbr method find paths with exact geometric accuracy
ray tracing models that find propagation paths by using the shooting and bouncing rays (sbr) method correct the results so that the geometric accuracy of each path is exact, using single-precision floating-point computations. in previous releases, the paths have approximate geometric accuracy.
as a result, when you use a ray tracing model as input to the
pathloss
function, the function can return different
results than in previous releases.
see also
|
打开示例
您曾对此示例进行过修改。是否要打开带有您的编辑的示例?
matlab 命令
您点击的链接对应于以下 matlab 命令:
请在 matlab 命令行窗口中直接输入以执行命令。web 浏览器不支持 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
- (español)
- (english)
- (english)
europe
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
asia pacific
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)