newref

Change reference impedance of S-parameters

Syntax

Description

example

hs2 = newref(hs,Z0) creates an S-parameter object, hs2, by converting the S-parameters in hs to the specified reference impedance, Z0.

Examples

expand all

Change reference impedance of S-parameters

Create an S-parameters object from data in the file, default.s2p.

hs = sparameters('default.s2p');

Change the reference impedance to 40 ohms.

hs2 = newref(hs,40);

Input Arguments

expand all

hs — S-parametersnetwork parameter object

S-parameters, specified as an RF Toolbox™ network parameter object. To create this type of object, use the sparameters function.

Z0 — Reference impedancereal positive scalar

Characteristic impedance, in ohms, specified as a real positive scalar.

Output Arguments

expand all

hs2 — S-parametersnetwork parameter object

S-parameters with reference impedance Z0, returned as an RF Toolbox network parameter object.

See Also

Was this topic helpful?