Main Content

newref

Change reference impedance of S-parameters

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

collapse all

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)
hs2 = 
  sparameters: S-parameters object

       NumPorts: 2
    Frequencies: [191x1 double]
     Parameters: [2x2x191 double]
      Impedance: 40

  rfparam(obj,i,j) returns S-parameter Sij

Input Arguments

collapse all

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

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

Output Arguments

collapse all

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

See Also

Introduced in R2012b