Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.powerreturns 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

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

Data Types: char

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

Examples

expand 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.Freq = f;
powerdata.Phase = phase;
powerdata.Pin = pin;
powerdata.Pout = pout;
powerdata = 

   rfdata.power with properties:

     Freq: []
      Pin: {[1 10]}
     Pout: {[1 10]}
    Phase: {}
     Name: 'Power data'

Introduced in R2009a

Was this topic helpful?