Name

uW_S2P_flip — Flip port 1 and port 2 of a S2P object.

Calling Sequence

S2=uW_S2P_flip(S1)

Parameters

S1

tlist containing the original S parameters.

S2

tlist containing the S parameters of the flipped data.

Description

This function convert flip a S parameter object. Port1 and port 2 are switched such as S2.S11=S1.S22, S2.S22=S1.S11, S2.S12=S1.S21, and S2.S21=S1.S12.

Examples


// Get the T11 parameter of a measured device
// 
filename=uigetfile("*.s2p");
S_measure=uW_S2P_read(filename);
S2=uW_S2P_flip(S_measure);

plot2d(S2.frequency,abs(S2.S11));




 
  

See Also

uW_S2P_read

Authors

Tibault Reveyrand

www.reveyrand.fr