rfparam
Extract vector of network parameters
Description
Examples
Create Data Vector From S-Parameter Object
Read in the file default.s2p into an sparameters object and get the S21 value.
S = sparameters('default.s2p');
s21 = rfparam(S,2,1)
s21 = 191×1 complex
-0.6857 + 1.7827i
-0.6560 + 1.7980i
-0.6262 + 1.8131i
-0.5963 + 1.8278i
-0.5664 + 1.8422i
-0.5363 + 1.8563i
-0.5062 + 1.8700i
-0.4760 + 1.8835i
-0.4457 + 1.8966i
-0.4152 + 1.9094i
⋮
Input Arguments
abcdflag
— ABCD-parameter index
'A'
| 'B'
| 'C'
| 'D'
Flag that determines which ABCD parameters the function extracts,
specified as 'A'
, 'B'
,
'C'
, or 'D'
.
habcd
— 2-port ABCD parameters
ABCD parameter object
2-port ABCD parameters, specified as an RF Toolbox™ ABCD parameter object. When you specify
abcdflag
, you must also specify an ABCD parameter
object.
hnet
— Network parameters
network parameter object
Network parameters, specified as an RF Toolbox network parameter object.
i
— Row index
positive integer
Row index of data to extract, specified as a positive integer.
j
— Column index
positive integer
Column index of data to extract, specified as a positive integer.
Output Arguments
abcd_vector
— A, B, C, or D- parameters
vector
A, B, C, or
D- parameters, returned as a vector. The
abcdflag
input argument determines which parameters
the function returns. The function supports only 2-port ABCD parameters;
thus, the output is always a vector.
Example: a_vector = rfparam(habcd,'A');
Version History
Introduced before R2006a
See Also
zparameters
| sparameters
| rfinterp1
| rfplot
(Antenna Toolbox)
Apri esempio
Si dispone di una versione modificata di questo esempio. Desideri aprire questo esempio con le tue modifiche?
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
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)