circle
Draw circles on Smith Chart
Syntax
Description
[
史密斯圆图创造了指定的圈子ed using thehsm_out
] = circle(rfcktobject
,freq
,type1,value1,....,typen,valuen
,hsm1_out
)smithplot
function. The syntax returns an existingsmithplot
handle.
[
draws the specified circles on a Smith chart. This syntax returns vector handles of line objects and handles of the Smith chart.hlines
,hsm
] = circle(rfcktobject
,freq
,type1,value1,....,typen,valuen
,hsm_out
)
Examples
Draw Circles on Smith Chart Created usingsmithplot
Function
Create an amplifier object fromdefault.s2p
.
amp = read(rfckt.amplifier,'default.s2p');
Plot the noise figure of the amplifier 1.9 GHz using a Smith chart created usingsmithplot
function
fc = 1.9e9; h = smithplot
h = smithplot with properties: Data: [] Frequency: [] Show all properties, methods
circle(amp,fc,'Stab','In','Stab','Out','NF',10.396,h); legend('Location','SouthEast')
Input Arguments
rfcktobject
—RF Toolbox™ rfckt object
object handle
RF Toolbox rfckt object, specified as an object handle,
freq
—Single frequency point of interest
scalar
Single frequency point of interest, specified as a scalar in Hz.
Data Types:double
type1,value1,....,typen,valuen
—Type value pairs specifying circles to plots
character vector|string scalar
Type value pairs specifying circles to plots, specified as a character vector or a string scalar.
The following table lists the supported circle type options:
type |
Definition |
---|---|
'Ga' |
Constant available power gain circle |
'Gp' |
Constant operating power gain circle |
'Stab' |
Stability circle |
'NF' |
Constant noise figure circle |
'R' |
Constant resistance circle |
'X' |
Constant reactance circle |
'G' |
Constant conductance circle |
'B' |
Constant susceptance circle |
'Gamma' |
Constant reflection magnitude circle |
The following table lists the circle value options:
value |
Definition |
---|---|
'Ga' |
Scalar or vector of gains in dB |
'Gp' |
Scalar or vector of gains in dB |
'Stab' |
'in' or'source' for input/source stability circle;'out' or'load' for output/load stability circle |
'NF' |
Scalar or vector of noise figures in dB |
'R' |
Scalar or vector of normalized resistance |
'X' |
Scalar or vector of normalized reactance |
'G' |
标量或矢量归一化电导 |
'B' |
Scalar or vector of normalized susceptance |
'Gamma' |
Scalar or vector of non-negative reflection magnitude |
Data Types:char
|string
hsm1_out
—Existing Smith plot handle
object handle
Existing Smith chart handle created usingsmithplot
function, specified as an object handle. You can obtain the object handle usinghsm1 = smithplot('gco')
.
hsm
—Existing Smith chart handle
object handle
Existing Smith chart handle, specified as an object handle.
Output Arguments
hlines
— Line objects for circle specifications
vector of line handle
Line objects for circle specifications, returned as a vector of line handles.
hsm
— Smith chart
object handle
Smith chart, returned as an object handle.
hsm_out
— Smith chart created usingsmithplot
function
object handle
Smith chart created usingsmithplot
function, returned as an object handle.
Version History
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
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)