tobj = tparameters(filename)
creates a T-parameter object, ht by importing
data from the Touchstone file specified by
filename. All data is stored in
real/imag format.
tobj = tparameters(tobj_old,z0)
converts a T-parameter data in tobj_old to
the new impedance z0.
z0 is
optional, and if not provided, tparam_data is
copied instead of converted.
tobj = tparameters(rftbx_obj)
extracts S-parameter network data from
rfdata.network object, an
rfdata.data object, or any analyzed
network object, and then converts the data to T-parameter
data.
tobj = tparameters(hnet, z0)
converts the network parameter data in hnet
into T-parameter data.
tobj = tparameters(paramdata,freq,z0)
creates T-parameter object directly from the specified data,
paramdata using specified frequency and
impedance.
paramdata — Input T-parameter data 2-by-2-by-K array of complex
numbers
Input T-parameter data, specified as
2-by-2-by-K array of complex
numbers. The function uses this input argument to set the
value of the Parameters property of
ht.
filename — Touchstone data file character vector
Touchstone data file, specified as a character vector.
filename can be the name of a
file on the MATLAB® path or the full path to a file.
Example: ht =
tparameters('defaultbandpass.s2p');
freq — T-parameter frequencies vector of positive real numbers
T-parameter frequencies, specified as a vector of positive
real numbers. The frequencies are sorted from smallest to
largest. The function uses this input argument to set the
value of the Frequencies property of
ht.
z0 — T-parameter impedance 50 (default) | scalar
T-parameter impedance, specified as a scalar.
z0 is
optional and is stored in the
Impedance.
hnet — Network parameter data scalar handle
Network parameter data, specified as a scalar handle. If
hnet is a T-parameter object,
then tobj is a deep copy of
hnet. Otherwise, the function
performs a network parameter conversion to create
tobj. Specify
hnet as one of the following
types: sparameters,
yparameters,
gparameters,
hparameters,
zparameters, or
abcdparameters.
rftbx_obj — network object scalar handle
Network object, specified as a scalar handle. You can
specify rftbxobj as one of the
following types: rfdata.data object,
rfdata.network object, or as any
analyzed rfckt type.
T-parameter data, returned as a scalar handle.
disp(ht) returns the properties
of the object:
NumPorts — Number
of ports, specified as an integer. The function
calculates this value automatically when you
create the object.
Parameters —
T-parameter data, specified as a
2-by-2-by-K array of complex
numbers. The 2x2 T-parameter data is specified for
each frequency in the “Frequencies”
property. The function sets this property from the
filename or
paramdata input
arguments.
Impedance —
Characteristic impedance used to measure the
T-Parameters, specified as a numeric positive real
scalar.
Frequencies —
T-parameter frequencies, specified as a
K-by-1 vector of positive real
numbers sorted from smallest to largest. The
function sets this property from the
filename or
freq input arguments.