rfdata.network

Store frequency-dependent network parameters

Description

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

Creation

Description

example

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

h = rfdata.network('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

Properties

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

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

Data Types: char

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

Examples

collapse all

Create an object to store frequency-dependant Y-parameters using rfdata.network.

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 = rfdata.network...
         ('Type','Y_PARAMETERS','Freq',f,'Data',y)
net = 
   rfdata.network with properties:

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

Introduced in R2009a