Main Content

hparameters

Create hybrid parameter object

Description

example

hh= hparameters(filename)creates a hybrid parameter objecthhby importing data from the Touchstone file specified byfilename。所有数据均以真实/图像格式存储。

hh= hparameters(hnet)creates a hybrid parameter object from the RF Toolbox™ network parameter objecthnet

hh= hparameters(data,freq)creates a hybrid parameter object from the hybrid parameter data,data, and frequencies,freq

hh= hparameters(rftbxobj)从中提取网络数据rftbxobjand converts it into H-parameter data.

Examples

collapse all

Read the filedefault.s2pas h-parameters and extract H11.

h = hparameters('default.s2p')
h = hparameters: h-parameters object NumPorts: 2 Frequencies: [191x1 double] Parameters: [2x2x191 double] rfparam(obj,i,j) returns h-parameter hij
H11 = rfparam(H,1,1);

Input Arguments

collapse all

Hybrid parameter data, specified as array of complex numbers, of size 2-by-2-by-K。该函数使用此输入参数来设置Parametersproperty ofhh

Touchstone data file, specified as a character vector, that contains network parameter data.filename可以是MATLAB上文件的名称®path or the full path to a file.

Example:hh = hparameters('defaultbandpass.s2p');

混合参数频率,指定为正实数的向量,从最小到最大分类。该函数使用此输入参数来设置Frequenciesproperty ofhh

Network parameter data, specified as a scalar handle. Ifhnetis a hybrid parameter object, thenhhis a deep copy ofhnet。Otherwise, the function performs a network parameter conversion to createhh。When converting network parameters, the same restrictions apply as those for RF Toolbox network parameter data conversion functions:

  • ABCD parameter objects support 2N-port data.

  • Hybrid-g parameter objects support 2-port data.

  • Hybrid parameter objects support 2-port data.

  • S-parameter objects supportN-port data.

  • Y-parameter objects supportN-port data.

  • Z-parameter objects supportN-port data.

Network object, specified as scalar handle. Specifyrftbxobjas one of the following types:rfdata.data,rfdata.network, and any analyzedrfckttype.

Output Arguments

collapse all

Hybrid parameter data, returned as a scalar handle.disp(hh)返回对象的属性:

  • Frequencies— Hybrid parameter frequencies, specified as aK-by-1 vector of positive real numbers sorted from smallest to largest. The function sets this property from thefilename或者freqinput arguments.

  • Parameters— Hybrid parameter data, specified as a 2-by-2-by-Karray of complex numbers. The function sets this property from thefilename或者datainput arguments.

他的版本tory

Introduced in R2012b