主要内容

rfckt.datafile

来自文件数据的组件或网络

Description

Use thedatafileobject to represent RF components and networks that are characterized by measured or simulated data in a file.

Use themethod to read the data from a file in one of the following formats:

  • Touchstone

  • Agilent®P2D

  • Agilent S2D

  • 放大器

Creation

Description

example

h = rfckt.datafile返回一个电路对象的职业perties all have their default values.

h = rfckt.datafile(Name,Value)使用一个或多个名称值对设置属性。例如,rfckt.datafile('IntType','Cubic')创建使用立方插值的RF组件或网络。您可以指定多个名称值对。将每个属性名称包装在报价中。未指定的属性保留其默认值。

Properties

expand all

此属性仅阅读。

计算的S-参数,噪声图,OIP3和组延迟值, specified as arfdata.dataobject. For more information refer,算法.

Data Types:function_handle

包含电路数据的文件名,指定为1-by-1字符阵列。

Data Types:char

Interpolation method, specified as a1-by-N字符阵列of the following values:

Method Description
Linear(default) 线性插值
Spline Cubic spline interpolation
Cubic 分段立方赫米特插值

Data Types:char

此属性仅阅读。

Object name, specified as a1-by-N字符阵列。

Data Types:char

此属性仅阅读。

Number of ports, specified as a positive integer. The default value is 2.

Data Types:double

Object Functions

analyze Analyze RFCKT object in frequency domain
calculate Calculate specified parameters for rfckt objects or rfdata objects
circle Draw circles on Smith Chart
extract Extract specified network parameters from rfckt object or data object
ListFormat 列出指定电路对象参数的有效格式
listparam 列出指定电路对象的有效参数
loglog Plot specified circuit object parameters using log-log scale
plot X-Y平面上的绘图电路对象参数
plotyy Plot parameters of RF circuit or RF data on X-Y plane with two Y-axes
getop Display operating conditions
polar Plot specified object parameters on polar coordinates
semilogx Plot RF circuit object parameters using log scale forx-轴
semilogy Plot RF circuit object parameters using log scale fory-轴
smith Plot circuit object parameters on Smith chart
write Write RF data from circuit or data object to file
getz0 Calculate characteristic impedance of RFCKT transmission line object
Read RF data from file to new or existing circuit or data object
恢复 Restore data to original frequencies
getop Display operating conditions
groupdelay S参数对象或RF过滤对象的组延迟或RF Toolboxcircuit object

Examples

collapse all

代表使用RFCKT.DATAFILE在文件中测量或模拟数据中特征的RF组件和网络。

data=rfckt.datafile('File','default.s2p')
data = rfckt.datafile with properties: IntpType: 'Linear' File: 'default.s2p' nPort: 2 AnalyzedResult: [1x1 rfdata.data] Name: 'Data File'

算法

Theanalyze方法计算分析property using the data stored in the文件object property. If the file you specify with this property contains network Y- or Z-parameters,analyzefirst converts these parameters, as they exist in therfckt.datafileobject, to S-parameters. Using the interpolation method you specify with the'IntpType'property,analyze插值S-参数以确定指定频率的S参数。具体来说,analyze根据其频率的上升顺序订购S-参数,fn. It then interpolates the S-parameters, using the MATLAB®interp1function. For example, the curve in the following diagram illustrates the result of interpolating the S11parameters at five different frequencies.

S11插值结果

For more information, see “One-Dimensional Interpolation” and theinterp1MATLAB文档中的参考页面。

参考

[1] EIA/IBIS Open Forum,Touchstone文件Format Specification, Rev. 1.1, 2002

Version History

在R2006a之前引入