Can anyone provide me Matlab code to extract S parameters from a .s4p touchstone file exported from CST MWS ?
I've tried the code below,
s= sparameters('file.s2p');
s11=(s,1,1);
s21=(s,2,1);
This piece of code works fine up to s2p.
But for SnP>S2P , it returns zeros in s11 and s22 matrix.