Main Content

Store frequency-dependent network parameters


Use the network class to store frequency-dependent S-, Y-, Z-, ABCD-, H-, G-, or T-parameters for a circuit object.


sparameters, yparameters, zparameters, gparameters, hparameters, abcdparameters, and tparameters are recommend over because these objects enable you to calculate S-parameters, Y-parameters, Z-parameters, G-parameters, h-parameters, hybrid g-parameters, ABCD-parameters, and T-parameters for RF data, network, circuit, objects. (since R2023b)




h = returns a data object for the frequency-dependent network parameters h, whose properties all have their default values.

h ='Type',value1,'Freq',value2, Data',value3, 'Z0',value4) sets properties using one or more name-value pairs. You can specify multiple name-value pairs. Enclose each property name in a quote


expand all

Network parameter data, specified as a 2-by-2-by-M array. M is the number of frequencies. The values correspond to the frequencies stored in the 'Freq' property. By default, this property is empty.

Data Types: double

Frequency data , specified as a M-element vector in hertz. The values must be positive and correspond to the order of the IP3 values. By default, this property is empty.

Data Types: double

Type of network parameters, specified as one of the following network parameters:

  • 'S'

  • 'Y'

  • 'Z'

  • 'ABCD'

  • 'H'

  • 'G'

  • 'T'

Data Types: double

Reference impedance, specified as a scalar in ohms. This property is only available when the 'Type' is set to 'S'. The default value is 50 ohms.

Data Types: double

Object name, specified as a 1-by-N character array or string. This is a read-only property.

Data Types: char


collapse all

Create an object to store frequency-dependent Y-parameters using

f = [2.08 2.10 2.15]*1.0e9;
y(:,:,1) = [-.0090-.0104i, .0013+.0018i; ...
            -.2947+.2961i, .0252+.0075i];
y(:,:,2) = [-.0086-.0047i, .0014+.0019i; ...
            -.3047+.3083i, .0251+.0086i];
y(:,:,3) = [-.0051+.0130i, .0017+.0020i; ...
            -.3335+.3861i, .0282+.0110i];

net =
net = with properties:

    Type: 'Y_PARAMETERS'
    Freq: [3x1 double]
    Data: [2x2x3 double]
      Z0: 50.0000 + 0.0000i
    Name: 'Network parameters'

Version History

Introduced in R2009a