Skip to Main Content Skip to Search
Product Documentation

listformat - List valid formats for specified circuit object parameter

Syntax

list = listformat(h,'parameter')

Description

list = listformat(h,'parameter') lists the allowable formats for the specified network parameter. The first listed format is the default format for the specified parameter.

In these lists, 'Abs' and 'Mag' are the same as 'Magnitude (linear)', and 'Angle' is the same as 'Angle (degrees)'.

When you plot phase information as a function of frequency, RF Toolbox software unwraps the phase data using the MATLAB unwrap function. The resulting plot is only meaningful if the phase data varies smoothly as a function of frequency, as described in the unwrap reference page. If your data does not meet this requirement, you must obtain data on a finer frequency grid.

Use the listparam method to get the valid parameters of a circuit object.

Examples

trl = rfckt.txline;
f = [1e9:1.0e7:3e9];
analyze(trl,f);
list = listformat(trl,'S11')

list = 
    'dB'
    'Magnitude (decibels)'
    'Abs'
    'Mag'
    'Magnitude (linear)'
    'Angle'
    'Angle (degrees)'
    'Angle (radians)'
    'Real'
    'Imag'
    'Imaginary'

See Also

analyze | calculate | extract | getz0 | listparam | loglog | plot | plotyy | polar | read | restore | semilogx | semilogy | smith | write

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS