Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

extract

Extract array of network parameters from data object

Syntax

[outmatrix, freq] = extract(h,outtype,z0)

Description

[outmatrix, freq] = extract(h,outtype,z0) extracts the network parameters of outtype from an rfckt, rfdata.data or rfdata.network object, h, and returns them in outmatrix. freq is a vector of frequencies that correspond to the network parameters.

outtype can be one of these case-insensitive values: 'ABCD_parameters', 'S_parameters', 'Y_parameters', 'Z_parameters', 'H_parameters', 'G_parameters', or 'T_parameters'. z0 is the reference impedance for the S-parameters. The default is 50 ohms.

Examples

collapse all

Extract ABCD-parameters for an rfckt.amplifier object read from default.s2p.

amp = read(rfckt.amplifier,'default.s2p');
[outmatrix,freq] = extract(amp,'ABCD_parameters');

Introduced before R2006a

Was this topic helpful?