General Circuit Element
Model two-port network described by rfckt
object
Libraries:
RF Blockset /
Equivalent Baseband /
Black Box Elements
Description
The General Circuit Element block models the two-port network described by an
RF Toolbox™ circuit (rfckt
) object. The block uses the
rfckt/analyze
method to calculate the network parameters at the
modeling frequencies.
To learn how you can use General Circuit Elementblock to realize cascaded filters, see Multiple Realizations of Cascaded Filters example.
Examples
Multiple Realizations of Cascaded Filters
Learn three different ways to implement filters.
Parameters
Main
RFCKT object — RFCKT object that contains circuit element device data
read(rfckt.passive,
'passive.s2p')
(default) | any rfckt
object
RFCKT object that contains circuit element device data, specified as an any RF Toolbox rfckt object that creates a default circuit object of the specified type, or a MATLAB® expression that generates such an object. See RF Circuit Objects for more information about circuit objects.
Visualization
Source of frequency data — Frequency data source
User-specified
(default)
Frequency data source, specified as
User-specified
.
Frequency data (Hz) — Frequency data range
[1.9e9:1.0e6:2.2e9]
(default) | vector
Frequency data range, specified as a vector with each element unit in hertz.
Reference impedance (ohms) — Reference impedance
50
(default) | nonnegative scalar
Reference impedance, specified as a nonnegative scalar in ohms.
Plot type — Type of data plot
X-Y plane
(default) | Composite data
| Polar plane
| Z Smith chart
| Y Smith chart
| ZY Smith chart
Type of data plot to visualize using the given data, specified as one of the following:
X-Y plane
— Generate a Cartesian plot of the data versus frequency. To create linear, semilog, or log-log plots, set the Y-axis scale and X-axis scale accordingly.Composite data
— Plot the composite data. For more information, see Create Plots Using Equivalent Baseband Library Blocks.Polar plane
— Generate a polar plot of the data. The block plots only the range of data corresponding to the specified frequencies.Z smith chart
,Y smith chart
, andZY smith chart
— Generate a Smith® chart. The block plots only the range of data corresponding to the specified frequencies.
Y parameter1 — Type of parameters to plot
S11
(default) | S12
| S21
| S22
| GroupDelay
| OIP3
| IIP3
| NF
| ...
Type of parameters to plot, specified as one of the following:
S11 | S12 | S21 | S22 |
GroupDelay | GammaIn | GammaOut | VSWRIn |
VSWROut | OIP3 | IIP3 | NF |
NFactor | NTemp | TF1 | TF2 |
TF3 | Gt | Ga | Gp |
Gmag | Gmsg | GammaMS | GammaML |
K | Delta | Mu | MuPrime |
Note
Y parameter1 is disabled when you select Plot
type to Composite data
.
Y parameter2 — Type of parameters to plot
S11
(default) | S12
| S21
| S22
| GroupDelay
| OIP3
| IIP3
| NF
| ...
Type of parameters to plot, specified as one of the following:
S11 | S12 | S21 | S22 |
GroupDelay | GammaIn | GammaOut | VSWRIn |
VSWROut | OIP3 | IIP3 | NF |
NFactor | NTemp | TF1 | TF2 |
TF3 | Gt | Ga | Gp |
Gmag | Gmsg | GammaMS | GammaML |
K | Delta | Mu | MuPrime |
Note
Y parameter2 is disabled when you select Plot
type to Composite data
.
Y format1 — Plot format
Magnitude (decibels)
(default) | Mag
| Magnitude (linear)
| Angle
| Real
| Imaginary
| ...
Plot format, specified as one of the following.
Y parameter1 | Y format1 |
---|---|
S11 , S12 ,
S21 , S22 ,
GammaIn ,
GammaOut , TF1 ,
TF2 , TF3 ,
GammaMS ,
GammaML , and
Delta . | dB , Magnitude
(decibels) , Abs ,
Mag , Magnitude
(linear) , Angle ,
Angle(degrees) ,
Angle(radians) ,
Real , Imag ,
and Imaginary . |
GroupDelay | ns , us ,
ms , s , and
ps . |
VSWRIn and
VSWROut . | Magnitude (decibels) and
None . |
OIP3 and
IIP3 . | dBm , W , and
mW . |
NF
| dB and Magnitude
(decibels) . |
NFactor , K ,
Mu , and
MuPrime . | None |
NTemp | Kelvin |
Gt , Ga ,
Gp , Gmag , and
Gmsg . | dB , Magnitude
(decibels) , and
None . |
Dependencies
To enable Y format1, set Plot type to
X-Y plane
.
Y format2 — Plot format
Magnitude (decibels)
(default) | Mag
| Magnitude (linear)
| Angle
| Real
| Imaginary
| ...
Plot format, specified as one of the following.
Y parameter2 | Y format2 |
---|---|
S11 , S12 ,
S21 , S22 ,
GammaIn ,
GammaOut , TF1 ,
TF2 , TF3 ,
GammaMS ,
GammaML , and
Delta . | dB , Magnitude
(decibels) , Abs ,
Mag , Magnitude
(linear) , Angle ,
Angle(degrees) ,
Angle(radians) ,
Real , Imag ,
and Imaginary . |
GroupDelay | ns , us ,
ms , s , and
ps . |
VSWRIn and
VSWROut . | Magnitude (decibels) and
None . |
OIP3 and
IIP3 . | dBm , W , and
mW . |
NF
| dB and Magnitude
(decibels) . |
NFactor , K ,
Mu , and
MuPrime . | None |
NTemp | Kelvin |
Gt , Ga ,
Gp , Gmag , and
Gmsg . | dB , Magnitude
(decibels) , and
None . |
Dependencies
To enable Y format2, set Plot type to
X-Y plane
.
X parameter — Frequency plot
Freq
(default)
Frequency plot, specified as Freq
.
X format — Frequency plot format
Hz
(default) | Auto
| kHz
| MHz
| GHz
| THz
Frequency plot format, specified as one of the following.
Auto | Hz | kHz | MHz |
GHz | THz |
Y scale — Y-axis scale
Linear
(default) | Log
Y-axis scale, specified as Linear
or Log
.
Dependencies
To enable this parameter, set Plot type to X-Y
plane
.
X scale — X-axis scale
Linear
(default) | Log
X-axis scale, specified as Linear
or Log
.
Dependencies
To enable this parameter, set Plot type to X-Y
plane
.
Plot — Plot specified data
button
Plot specified data using the plot button.
Version History
Introduced before R2006a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)