# rfckt.hybridg

Inverse hybrid connected network

## Description

Use the `hybridg` object to represent hybrid connected networks of linear RF objects characterized by the components that make up the network.

## Creation

### Syntax

``h = rfckt.hybridg``
``h = rfckt.hybridg('Ckts',value)``

### Description

````h = rfckt.hybridg` returns an inverse hybrid connected network object whose properties all have their default values.```

example

````h = rfckt.hybridg('Ckts',value)` returns a cascaded network with elements specified in the name-value pair property `Ckts`.```

## Properties

expand all

Computed S-parameters, noise figure, OIP3, and group delay values, specified as an rfdata.data object. For more information, see Algorithms.

Data Types: `function_handle`

Circuit objects in network, specified as a cell array of object handles. All circuits must be 2-port. By default, this property is empty.

Data Types: `char`

Object name, specified as a `1-by-N` character array.

Data Types: `char`

Number of ports, specified as a positive integer. The default value is 2.

Data Types: `double`

## Object Functions

 `analyze` Analyze RFCKT object in frequency domain `calculate` Calculate specified parameters for rfckt objects or rfdata objects `circle` Draw circles on Smith Chart `extract` Extract specified network parameters from rfckt object or data object `listformat` List valid formats for specified circuit object parameter `listparam` List valid parameters for specified circuit object `loglog` Plot specified circuit object parameters using log-log scale `plot` Plot circuit object parameters on X-Y plane `plotyy` Plot parameters of RF circuit or RF data on X-Y plane with two Y-axes `getop` Display operating conditions `polar` Plot specified object parameters on polar coordinates `semilogx` Plot RF circuit object parameters using log scale for x-axis `semilogy` Plot RF circuit object parameters using log scale for y-axis `smith` Plot circuit object parameters on Smith chart `write` Write RF data from circuit or data object to file `getz0` Calculate characteristic impedance of RFCKT transmission line object `read` Read RF data from file to new or existing circuit or data object `restore` Restore data to original frequencies `getop` Display operating conditions `groupdelay` Group delay of S-parameter object or RF filter object or RF Toolbox circuit object

## Examples

collapse all

Create inverse hybrid connected networks of linear RF objects with two transmission line objects using rfckt.hybridg.

```tx1 = rfckt.txline; tx2 = rfckt.txline; invhyb = rfckt.hybridg('Ckts',{tx1,tx2})```
```invhyb = rfckt.hybridg with properties: Ckts: {[1x1 rfckt.txline] [1x1 rfckt.txline]} nPort: 2 AnalyzedResult: [] Name: 'Hybrid G Connected Network' ```

## Algorithms

The `analyze` method computes the S-parameters of the `AnalyzedResult` property using the data stored in the `Ckts` property as follows:

1. The `analyze` method first calculates the g matrix of the inverse hybrid network. It starts by converting each component network's parameters to a g matrix. The following figure shows an inverse hybrid connected network consisting of two 2-port networks, each represented by its g matrix,

where

`$\begin{array}{l}\left[{g}^{\prime }\right]=\left[\begin{array}{cc}{g}_{11}{}^{\prime }& {g}_{12}{}^{\prime }\\ {g}_{21}{}^{\prime }& {g}_{22}{}^{\prime }\end{array}\right]\\ \left[{g}^{″}\right]=\left[\begin{array}{cc}{g}_{11}{}^{\prime \text{​}\prime }& {g}_{12}{}^{\prime \text{​}\prime }\\ {g}_{21}{}^{\prime \text{​}\prime }& {g}_{22}{}^{\prime \text{​}\prime }\end{array}\right]\end{array}$`

2. The `analyze` method then calculates the g matrix for the inverse hybrid network by calculating the sum of the g matrices of the individual networks. The following equation illustrates the calculations for two 2-port networks.

`$\left[g\right]=\left[\begin{array}{cc}{g}_{11}{}^{\prime }+{g}_{11}{}^{\prime \text{​}\prime }& {g}_{12}{}^{\prime }+{g}_{12}{}^{\prime \text{​}\prime }\\ {g}_{21}{}^{\prime }+{g}_{21}{}^{\prime \text{​}\prime }& {g}_{22}{}^{\prime }+{g}_{22}{}^{\prime \text{​}\prime }\end{array}\right]$`

3. Finally, `analyze` converts the g matrix of the inverse hybrid network to S-parameters at the frequencies specified in the `analyze` input argument `freq`.

## References

[1] Davis, A.M., Linear Circuit Analysis, PWS Publishing Company, 1998.

## Version History

Introduced before R2006a