Main Content

restore

Restore data to original frequencies

Description

example

h = restore(h) restores data in h to the original frequencies of network data for plotting.

Examples

collapse all

Create an amplifier object from the specified file and restore data.

amp = read(rfckt.amplifier,'default.s2p');
restore(amp)
ans = 
   rfckt.amplifier with properties:

         NoiseData: [1x1 rfdata.noise]
     NonlinearData: Inf
          IntpType: 'Linear'
       NetworkData: [1x1 rfdata.network]
             nPort: 2
    AnalyzedResult: [1x1 rfdata.data]
              Name: 'Amplifier'

Input Arguments

collapse all

Object that contains the data to be restored, specified as an RF circuit object. Here, the object h can be rfckt.passiverfckt.amplifier, rfckt.mixer, or rfckt.datafile.

Output Arguments

collapse all

Object that holds the restored data, returned as an RF circuit object. Here, the object h can be rfckt.passive rfckt.amplifier, rfckt.mixer, or rfckt.datafile.

Version History

Introduced before R2006a