MATLAB: Plot Impedance from Touchstone Files

impedancematlab2018aRF Toolboxrftoolboxsignal integrity

Hello Guys,
I have been using RF Toolbox quite extensively for my Signal Integrity work. I can import touchstone file, and use 'frplot' function to plot all kinds of SI data (like S11, S22 etc). However, I am not able to plot Impedance graph from touchstone file (.s2p or .s4p or .s8p). Is there a way this can be achieved? Is there a pre-defined function that can be used to plot impedance?
Note: I am currently using MATLAB 2018a version.
Thank you for your help.

Best Answer

Thanks for your reply, Srikanth. How will the characteristic impedance come into play here? I have a 50 ohms line, and I'd like to plot a TDR graph corresponding to the touchstone file. Moreover, the function 'zparameters' does not give result in time domain (the very definition of TDR plot). Instead the parameters are still in frequency domain!