hi

i am trying to import the Touchstone s2p file that gives s-parameters for a 2 port network. first, my code worked pretty good for the LNA MMICs ( parameters extracted from the s2p file ) and i plotted the results using matlab.

i got the desired results , but now, i have to plot the s-parameters for the

i have no clue how this will work

the touchstone s2p file for phase switches have 9 columns and i dont know which column to use.

Adding to my difficulties is the problem of cnverting the values from these columns to polar coordinates as the s2p files gives

can anyone please help me out with this matlab code to plot the

**i am uploading the file that i am using to plot the s-parameters of a LNA using s2p files

i am trying to import the Touchstone s2p file that gives s-parameters for a 2 port network. first, my code worked pretty good for the LNA MMICs ( parameters extracted from the s2p file ) and i plotted the results using matlab.

i got the desired results , but now, i have to plot the s-parameters for the

**Phase Switches**using its s2p file.i have no clue how this will work

the touchstone s2p file for phase switches have 9 columns and i dont know which column to use.

Adding to my difficulties is the problem of cnverting the values from these columns to polar coordinates as the s2p files gives

**Real and Imaginary**values of s-parameters; which means they are in rectangular coordinatecan anyone please help me out with this matlab code to plot the

**magnitude**and**angle**of phase switches using matlab code**i am uploading the file that i am using to plot the s-parameters of a LNA using s2p files

RI = Real / Imaginary

DB = Log Mag / Phase

MA = Lin Mag / Phase

http://www.home.agilent.com/upload/cmc_ ... 85583.html