轮廓
站点查看器中的RF传播数据显示轮廓图
描述
例子
使用SINR数据的容量图
定义波士顿周边地点的名称和位置。
名称= [“芬威公园”那"Faneuil Hall"那"Bunker Hill Monument"];LATS = [42.3467,42.3598,42.3763];lons = [-71.0972,-71.0545,-71.0611];
Create an array of transmitter sites.
txs = txsite("Name"那names,......“纬度”,拉特,......“经度”,lons,......"TransmitterFrequency"那2.5e9); show(txs)
Create a signal-to-interference-plus-noise-ratio (SINR) map, where signal source for each location is selected as the transmitter site with the strongest signal.
sv1 = siteviewer("Name"那“sinr地图”);SINR(TXS,“maxrange”,5000)
返回SINR传播数据。
pd = sinr(txs,“maxrange”,5000);[Sinrdb,Lat,Lons] = GetDataVariable(PD,"SINR");
Compute capacity using the Shannon-Hartley theorem.
BW = 1E6;%带宽是1 MHzsinrRatio = 10.^(sinrDb./10);%从DB转换为功率比capacity = bw*log2(1+sinrRatio)/1e6;% Unit: Mbps
为容量映射创建新的传播数据并显示轮廓图。
pdCapacity = propagationData(lats,lons,“容量”那capacity); sv2 = siteviewer("Name"那“容量图”);legendtitle =“容量”+纽诺+"(Mbps)";轮廓(pdcapacity,“Legendtitle”,Legendtitle);
输入参数
pd
-传播数据
传播数据
目的(默认)
传播数据,指定为a传播数据
目的。
名称 - 值参数
Specify optional pairs of arguments asname1 = value1,...,namen = valuen
, 在哪里姓名
是参数名称和Value
is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.
在R2021A之前,使用逗号分隔每个名称和值,并附包姓名
在报价中。
Example:'type','power'
datavariablename.
-Data variable to contour map
datavariablename.
(默认)|字符向量|字符串标量
数据变量到轮廓图,指定为逗号分隔对'datavariablename'
和字符向量或与用于创建传播数据容器对象的数据表中的变量名称对应的字符号标量pd
。
数据类型:char
|细绳
Type
-绘图的值类型
'风俗'
(默认)|'力量'
|'efield'
|'sinr'
|'pathloss'
绘图的值类型那specified as the comma-separated pair consisting of'类型'
和其中一个值'类型'
柱子:
Type | CorliSlimits. | Legendtitle. |
---|---|---|
'风俗' |
[min(数据)max(数据)] |
'' |
'力量' |
[-120 -5] |
'Power (dBm)' |
'efield' |
[20 135] |
'E-Field(DBUV / M)' |
'sinr' |
[-5 20] |
'SINR(DB)' |
'pathloss' |
[45 160] |
'路径损失(DB)' |
The default value for水平
是一个线性间隔的矢量界限CorliSlimits.
。
数据类型:char
|细绳
水平
-数据值级别要绘制
numeric vector
数据值级别到绘图,指定为逗号分隔对组成'水平'
and numeric vector. Each level is displayed as a different colored, filled contour on the map. The colors are selected using颜色
如果指定,或其他Colormap
andCorliSlimits.
。Data points with values below the minimum level are not included in the plot.
The default value for水平
是一个线性间隔的矢量界限CorliSlimits.
。
数据类型:双倍的
颜色
-颜色of data points
M.-By-3 RGB数组|串数量|特区字符向量阵列
填充轮廓的颜色,指定为逗号分隔的配对'Colors'
and an M-by-3 array of RGB (red, blue, green) or an array of strings, or a cell array of character vectors. Colors are assigned element-wise to values in水平
用于着色相应点。颜色不能使用Colormap
andCorliSlimits.
。
数据类型:双倍的
|char
|细绳
Colormap
-Color map for coloring points
'jet(256)'
(默认)|预定义的colormap name.|M.-B-3 RGB三联网阵列
Colormap用于着色点,指定为逗号分隔的对组成'colormap'
and a predefined colormap name or anM.-By-3 RGB数组(red, blue, green) triplets that defineM.个别颜色。Colormap
不能使用颜色
。
数据类型:双倍的
|char
|细绳
CorliSlimits.
-颜色图的颜色限制
two-element vector
颜色限制colormap,指定为有限公司mma-separated pair consisting of'COOLLIMITS'
和形式的两个元素矢量[min max]。颜色限制指示到Colormap中的第一个和最后一个颜色的数据级别值。CorliSlimits.
不能使用颜色
。
数据类型:双倍的
透明度
-透明度of contour map
0.。4
(默认)|numeric scalar in the range of [0,1]
透明度of the contour plot, specified as a numeric scalar in the range [0,1], where0.
is completely transparent and1
is completely opaque.
数据类型:双倍的
播放
-Show color legend on map
true
(默认)|错误的
在地图上显示颜色图例,指定为逗号分隔的配对'ShowLegend'
andtrue
or错误的
。
数据类型:逻辑
Legendtitle.
-颜色传奇标题
字符向量|字符串标量
颜色图例的标题,指定为逗号分隔对组成'letcendtitle'
和字符矢量或标量标题。
数据类型:细绳
|char
地图
-映射表面数据
siteviewer
目的
映射用于表面数据,指定为逗号分隔对'Map'
and asiteviewer
目的。1The default value is the current Site Viewer or a new Site Viewer, if none is open.
数据类型:char
|细绳
版本历史记录
也可以看看
1Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®。
matlab命令
您单击了与此MATLAB命令对应的链接:
在MATLAB命令窗口中输入它来运行命令。Web浏览器不支持MATLAB命令。万博1manbetx
Select a Web Site
选择一个网站,以便在可用的地方进行翻译内容,并查看本地活动和优惠。根据您的位置,我们建议您选择:。
You can also select a web site from the following list:
如何获得最佳网站性能
选择中国网站(以中文或英文)以获得最佳网站性能。其他MathWorks国家网站未优化您所在地的访问。
美洲
- América Latina(Español)
- 加拿大(英语)
- 美国(英语)