Documentation

rfdata.data class

Package: rfdata

Store result of circuit object analysis

Syntax

h = rfdata.data
h = rfdata.data('Property1',value1,'Property2',value2,...)

Description

Use the data class to store S-parameters, noise figure in decibels, and frequency-dependent, third-order output (OIP3) intercept points.

There are three ways to create an rfdata.data object:

  • You can construct it by specifying its properties from workspace data using the rfdata.data constructor.

  • You can create it from file data using the read method.

  • You can perform frequency domain analysis of a circuit object using the analyze method, and RF Toolbox™ software stores the results in an rfdata.data object.

h = rfdata.data returns a data object whose properties all have their default values.

h = rfdata.data('Property1',value1,'Property2',value2,...) returns a data object, h, based on the specified properties. Properties that you do not specify retain their default values.

Use the read method to read data from a file.

Properties

FreqFrequency data
GroupDelayGroup delay data
IntpTypeInterpolation method
NameObject name
NFNoise figure
OIP3Output third-order intercept point
S_ParametersS-parameter data
Z0Reference impedance
ZLLoad impedance
ZSSource impedance

Methods

analyzeAnalyze circuit object in frequency domain
calculateCalculate specified parameters for circuit object
circleDraw circles on Smith chart
extractExtract array of network parameters from data object
getopDisplay operating conditions
listformatList valid formats for specified circuit object parameter
listparamList valid parameters for specified circuit object
loglogPlot specified circuit object parameters using log-log scale
plotPlot specified circuit object parameters on X-Y plane
plotyyPlot specified object parameters with y-axes on both left and right sides
polarPlot specified circuit object parameters on polar coordinates
readRead RF data from file to new or existing circuit or data object
restoreRestore data to original frequencies
semilogxPlot specified circuit object parameters using log scale for x-axis
semilogyPlot specified circuit object parameters using log scale for x-axis
smithPlot specified circuit object parameters on Smith chart
writeWrite RF data from circuit or data object to file

Examples

expand all

RF Data Object From a .s2p Data File

file = 'default.s2p';
h = read(rfdata.data,file);  % Read file into data object.
figure
plot(h,'s21','db');   % Plot dB(S21) in XY plane.

Was this topic helpful?