Main Content

rfdata.power

Store output power and phase information for amplifiers or mixers

Description

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

Note

amplifier, modulator, and mixerIMT are recommend over rfdata.power because they enable you to:

  • Create a two-port amplifier, modulator, and mixer element.

  • Characterize amplifiers using AM/AM-AM/PM data. (since R2023b)

  • Perform frequency translation defined in an intermodulation table (IMT) for a single-tone carrier mixed with a local oscillator (LO) signal.

  • Analyze a commercial off-the-shelf (COTS) amplifier.

  • Model an amplifier, modulator, and a mixer in an RF chain created using an rfbudget object or the RF Budget Analyzer app, and then export this element to RF Blockset™ or to rfsystem System object™ for circuit envelope analysis.

(since R2023b)

Creation

Description

h = rfdata.powerreturns a data object for the Pin/Pout power data, h, whose properties all have their default values.

example

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,

Pin={[A];[B];[C]};

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