Extract array of network parameters from data object


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


[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 strings '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.

Was this topic helpful?