rfdata.power

Store output power and phase information for amplifiers or mixers

Description

Use the `power` class to store output power and phase specifications for a circuit object.

Creation

Syntax

``h = rfdata.power``
``h = rfdata.power(`property1',value1,'property2',value2,...)``

Description

example

````h = rfdata.power`returns a data object for the Pin/Pout power data, `h`, whose properties all have their default values.```
````h = rfdata.power(`property1',value1,'property2',value2,...)` 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

Frequency data , specified as a M-element vector in hertz. The values must be positive and correspond to the power data in `'Phase'`, `'Pin'`, and `'Pout'` properties. The order of frequencies is equal to the order of the phase and power values. By default, this property is empty.

Data Types: `double`

Phase shift data, specified as a M-element cell in degrees. . The values correspond to the frequencies stored in the `'Freq'` property. The values within each element correspond to the input power values stored in the `'Pin'` property. The default value is `1`.

Data Types: `double`

Input power data , specified as a M-element vector cell in watts. The values correspond to the frequencies stored in the `'Freq'` property. For example,

`${P}_{in}=\left\{\left[A\right];\left[B\right];\left[C\right]\right\};$`

where `A`, `B`, and `C` are column vectors that contain the first three frequencies stored in the `'Freq'` property.

The default value is `1`.

Data Types: `double`

Output power data, specified as a M-element vector in watts. The values correspond to the frequencies stored in the `'Freq'` property. The values within each element correspond to the input power values stored in the `'Pin'` property. The default value is `1`.

Data Types: `double`

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

Data Types: `char`

Examples

collapse all

Create an object to store output power and phase specifications using `rfdata.power`.

```f = [2.08 2.10]*1.0e9; phase = {[27.1 35.3],[15.4 19.3 21.1]}; pin = {[0.001 0.002],[0.001 0.005 0.01]}; pout = {[0.0025 0.0031],[0.0025 0.0028 0.0028]}; powerdata = rfdata.power```
```powerdata = rfdata.power with properties: Freq: [] Pin: {[1 10]} Pout: {[1 10]} Phase: {} Name: 'Power data' ```
```powerdata.Freq = f; powerdata.Phase = phase; powerdata.Pin = pin; powerdata.Pout = pout;```

Version History

Introduced in R2009a