M.ain Content

轮廓

站点查看器中的RF传播数据显示轮廓图

描述

轮廓(pd的)在当前网站查看器中创建一个填充的轮廓图。根据相应位置的数据值,轮廓是着色的。

例子

轮廓(___名称,价值的)创建一个填充的轮廓图,具有由名称值对参数指定的其他选项。

例子

全部收缩

定义波士顿周边地点的名称和位置。

名称= [“芬威公园”"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);

输入参数

全部收缩

传播数据,指定为a传播数据目的。

名称 - 值参数

Specify optional pairs of arguments asname1 = value1,...,namen = valuen, 在哪里姓名是参数名称和Valueis 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'和字符向量或与用于创建传播数据容器对象的数据表中的变量名称对应的字符号标量pd

数据类型:char|细绳

绘图的值类型那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|细绳

数据值级别到绘图,指定为逗号分隔对组成'水平'and numeric vector. Each level is displayed as a different colored, filled contour on the map. The colors are selected using颜色如果指定,或其他ColormapandCorliSlimits.。Data points with values below the minimum level are not included in the plot.

The default value for水平是一个线性间隔的矢量界限CorliSlimits.

数据类型:双倍的

填充轮廓的颜色,指定为逗号分隔的配对'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水平用于着色相应点。颜色不能使用ColormapandCorliSlimits.

数据类型:双倍的|char|细绳

Colormap用于着色点,指定为逗号分隔的对组成'colormap'and a predefined colormap name or anM.-By-3 RGB数组(red, blue, green) triplets that defineM.个别颜色。Colormap不能使用颜色

数据类型:双倍的|char|细绳

颜色限制colormap,指定为有限公司mma-separated pair consisting of'COOLLIMITS'和形式的两个元素矢量[min max]。颜色限制指示到Colormap中的第一个和最后一个颜色的数据级别值。CorliSlimits.不能使用颜色

数据类型:双倍的

透明度of the contour plot, specified as a numeric scalar in the range [0,1], where0.is completely transparent and1is completely opaque.

数据类型:双倍的

在地图上显示颜色图例,指定为逗号分隔的配对'ShowLegend'andtrueor错误的

数据类型:逻辑

颜色图例的标题,指定为逗号分隔对组成'letcendtitle'和字符矢量或标量标题。

数据类型:细绳|char

映射用于表面数据,指定为逗号分隔对'Map'and asiteviewer目的。1The default value is the current Site Viewer or a new Site Viewer, if none is open.

数据类型:char|细绳

版本历史记录

在R2020A介绍

也可以看看

||


1Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®