Main Content

getdata

Data object containing analyzed result of specified circuit object

Description

example

hd = getdata(h) returns a handle, hd, to the rfdata.data object containing the analysis data, if any, for circuit (rfckt) object h. If there is no analysis data, getdata displays an error message.

Examples

collapse all

Create a circuit object, rfckt.amplifier object.

h = rfckt.amplifier;

Use the getdata function to create a data object containing analyzed result of specified circuit object.

hd = getdata(h)
hd = 
   rfdata.data with properties:

            Freq: [191x1 double]
    S_Parameters: [2x2x191 double]
      GroupDelay: [191x1 double]
              NF: [191x1 double]
            OIP3: [191x1 double]
              Z0: 50.0000 + 0.0000i
              ZS: 50.0000 + 0.0000i
              ZL: 50.0000 + 0.0000i
        IntpType: 'Linear'
            Name: 'Data object'

Input Arguments

collapse all

Circuit object, specified as an rfckt object.

Data Types: double

Output Arguments

collapse all

Analysis data, returned as a rfdata.data object.

Version History

Introduced before R2006a