restore

Restore data to original frequencies

Syntax

h = restore(h)

Description

h = restore(h) restores data in h to the original frequencies of NetworkData for plotting. Here, h can be rfckt.datafile, rfckt.passive, rfckt.amplifier, or rfckt.mixer.

Examples

collapse all

Create an amplifier object from |default.s2p| 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'

Introduced before R2006a