主要内容

极性

Plot specified object parameters on polar coordinates

描述

example

p=极地(budgetobj,我,j)plots the (我,j)th s-parameter on polar plot for anrfbudget目的。p是极地绘制函数对象。有关有关属性的更多信息p, see .

example

线路=极地(CKTOBJ,'parameter1',...,'parametern')plots the parametersparameter1,...,parameternon polar plot for a circuit objectCKTOBJ.

The极性函数将手柄列向量返回到线路objects, one handle per element.

线路=极地(___,X轴参数,X轴格式,'condition1',value1,...,'prentivem',valuem,'freq',freq,'别针',别针)在电路对象的极地图上的指定操作条件下绘制指定参数,CKTOBJ. Use this option with the input arguments in the previous syntax.

不te

  • For all circuit objects except those that contain data from a data file, you must use the分析在调用之前执行频域分析的方法极性.

  • 使用该功能极性pattern(天线工具箱), or the MATLAB®功能极性plotto plot parameters that are not part of arfckt或者rfbudgetobject, but are specified as vector data.

例子

全部收缩

从|创建RF预算对象default.s2p |。

Sa = nport('default.s2p');rfobj = rfbudget(Sa,Sa.NetworkData.Frequencies,-30,10);

极地图上的绘图S11。

p = polar(rfobj,1,1); p.LineStyle =':';

In the newly opened figure window, clickView>Figure Toolbar,然后悬停在数据集上,以查看特定于特定点的参数。您可以右键单击以与图互动。

Create an amplifier object from |default.s2p|.

amp = read(rfckt.amplifier,'default.s2p');

极地图上的绘图S11。

lineseries =极性(amp,'S11')

Lineseries = Line(S_ {11})带有属性:颜色:[0 0.4470 0.7410] Linestyle:' - 'lineWidth:0.5000标记:'NONE'MarkerSize:6 MarkerfaceColor:'NONES'''''''XDATA:[-0.7247 -0.7247 -0.7318 -0.7318-0.738--0.738---0.738-----0.738---------0.738-----------------------------------0.738--------0.7457 -0.7525 -0.7593 ...] ydata:[-0.4813 -0.4715 -0.4616 -0.4517 -0.4419 -0.4419 -0.4320 ...] ZDATA

Input Arguments

全部收缩

RF预算(rfbudget) object, specified as an object handle.

Circuit object (rfckt) object, specified as an object handle.

获取有效参数的列表CKTOBJ, 类型ListParam(CKTOBJ).

The independent variable along thex-轴to plot the specified parameters along they- 轴,指定为字符向量或字符串。一些X轴参数值可用于所有对象。当您导入时rfckt.amplifier,rfckt.mixer, orrfdata.data来自.p2d或者.s2dfile, you can also specify any operating conditions from the file that have numeric values, such as bias.

下表显示了最常见的参数和相应的参数X轴参数值。表中列出的默认设置如果使用X轴参数is not specified.

Parameter Name X轴参数价值s
Pout,阶段,LS11,LS12,LS21,LS22 别针(default),Freq
S11,S12,S21,S22,nf,OIP3,VSWRIn,VSWROut,GammaIn,GammaOut,FMIN,伽玛,RN Freq
am/am,上午下午 AM

The format used for the specificX轴参数,指定为字符向量或字符串。不X轴格式需要规格X轴参数is an operating condition.

The following table shows theX轴格式可用于X轴参数values listed in the preceding table, along with the default settings that are used ifX轴格式is not specified.

X轴参数价值s X轴格式价值s
别针 DBM(default),MW,W,DBW
Freq

THz,GHz,MHz,KHz,赫兹

默认,X轴格式is chosen to provide the best scaling for the givenX轴参数值。

AM Magnitude (decibels)(default),Magnitude (linear)

Name-Value Arguments

Specify optional comma-separated pairs ofName,Value参数。Nameis the argument name and价值是相应的值。Name必须出现在引号中。您可以按任何顺序指定几个名称和值对参数NAME1,Value1,...,Namen,Valuen.

例子:线路=极地(h,'Freq',2.1e9)

可选条件值对绘制指定参数的绘制,指定为一系列'condition',valuepairs separated by commas. These pairs are usually operating conditions from a.p2d或者.s2d文件。对于某些参数,您可以指定一组频率或输入功率值,以绘制指定参数。

例如:

  • When plotting large-signal S-parameters as a function of input power, you can specify frequency points of interest using condition-value pairs.

  • When plotting large-signal S-parameters as a function of frequency, you can specify input power levels of interest using condition-value pairs.

  • 当绘制参数作为操作条件的函数时,您可以使用条件值对指定频率和输入功率值。

可选的频率值(以Hz为单位)来绘制指定参数。Freqis specified as the comma-separated pair of'Freq', 和a scalar value.

DBM中的可选输入功率值,以绘制指定参数。别针is specified as the comma-separated pair of'别针', 和a scalar value.

Output Arguments

全部收缩

Polar plot function object, returned as object handle

有关有关属性的更多信息p, see .

线路object, returned as a column vector of object handles.

提示

  • If you do not specify any operating conditions as arguments to the极性method, then the method plots the parameter values based on the currently selected operating condition.

  • 如果指定一个或多个操作条件,则极性方法根据这些操作条件绘制参数值。

  • When you use an operating condition for theX轴参数输入参数,该方法绘制了所有操作条件值的参数。

  • Use the Property Editor (propertyeditor) or the MATLABset功能to change theLine Properties.

  • The reference pages for MATLAB functions such asfigure,axes, 和text列出可用属性,并提供详细说明的链接。

在R2006a之前引入