Convert RLGC transmission line parameters to S-parameters

s_params = rlgc2s(R,L,G,C,length,freq,z0)

s_params = rlgc2s(R,L,G,C,length,freq)

`s_params = rlgc2s(R,L,G,C,length,freq,z0)`

transforms RLGC
transmission line parameter data into S-parameters.

`s_params = rlgc2s(R,L,G,C,length,freq)`

transforms RLGC transmission
line parameter data into S-parameters with a reference impedance of 50 Ω.

Bhatti, A. Aziz. “A computer Based Method for Computing the N-Dimensional
Generalized ABCD Parameter Matrices of N-Dimensional Systems with Distributed
Parameters.” *Southeastern Symposium on System Theory*. SSST, 22nd
Conference, 11–13 March 1990, pp. 590–593.