Skip to content

rfread

rf · scripts/rf/rfread.m

: s = rfread (filename)

Read a Touchstone .sNp file into an sparameters struct.

Supports option-line formats RI, MA, and DB. Two-port data order is column-major (S11, S21, S12, S22). Default option line when absent is # GHz S MA R 50.