| Contents | Index |
h = read(h) h = read(h,filename) h = read(rfckt.datafile,filename) h = read(rfckt.passive,filename) h = read(rfckt.amplifier,filename) h = read(rfckt.mixer,filename) h = read(rfdata.data,filename)
h = read(h) prompts you to select a file and then reads the data from that file into the circuit or data object, h. You can read data from an .snp, .ynp, .znp, .hnp, .gnp, or .amp file, where n is the number of ports. If h is an rfckt.amplifier, rfckt.mixer, or rfdata.data object, you can also read data from .p2d and .s2d files.
For more information on reading data from a file, see Import Property Values from Data Files. For a demonstration of how to use RF Toolbox software to read data from a .s2d file, see Visualizing Mixer Spurs. For information about the .amp format, see AMP File Format.
h = read(h,filename) updates h with data from the specified file. In this syntax, h can be a circuit or data object. filename is a string, representing the filename of a .snp, .ynp, .znp, .hnp, .gnp, or .amp file. If h is an rfckt.amplifier, rfckt.mixer, or rfdata.data object, filename can also represent a .p2d or .s2d file. For all files, the filename must include the file extension.
h = read(rfckt.datafile,filename) creates an rfckt.datafile object h, reads the RF data from the specified file, and stores it in h.
h = read(rfckt.passive,filename) creates an rfckt.passive object h, reads the RF data from the specified file, and stores it in h.
h = read(rfckt.amplifier,filename) creates an rfckt.amplifier object h, reads the RF data from the specified file, and stores it in h.
h = read(rfckt.mixer,filename) creates an rfckt.mixer object h, reads the RF data from the specified file, and stores it in h.
h = read(rfdata.data,filename) creates an rfdata.data object h, reads the RF data from the specified file, and stores it in h.
The following example shows you how to import data from the file default.amp into an rfckt.amplifier object.
ckt_obj=read(rfckt.amplifier, 'default.amp');
EIA/IBIS Open Forum, "Touchstone File Format Specification," Rev. 1.1, 2002 (http://www.vhdl.org/pub/ibis/connector/touchstone_spec11.pdf).
analyze | calculate | extract | getz0 | listformat | listparam | loglog | plot | plotyy | polar | restore | semilogx | semilogy | smith | write

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 |