Quantcast

Documentation Center

  • Trial Software
  • Product Updates

rfparam

Extract vector of network parameters

Syntax

  • n_ij = rfparam(hnet,i,j)
  • abcd_vector = rfparam(habcd,abcdflag)

Description

n_ij = rfparam(hnet,i,j) extracts the network parameter vector (i,j) from the network parameter object, hnet.

abcd_vector = rfparam(habcd,abcdflag) extracts the A, B, C, or D vector from ABCD-parameter object, habcd.

Input Arguments

expand all

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 parametersABCD 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 parametersnetwork parameter object

Network parameters, specified as an RF Toolbox network parameter object.

i — Row indexpositive integer

Row index of data to extract, specified as a positive integer.

j — Column indexpositive integer

Column index of data to extract, specified as a positive integer.

Output Arguments

expand all

n_ij — Network parameters (i,j)vector

Network parameters (i,j), returned as a vector. The i and j input arguments determine which parameters the function returns.

Example: S_21 = rfparam(hs,2,1)

abcd_vectorA, B, C, or D-parametersvector

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');

Was this topic helpful?