Read spectrum analyzer trace file

Reads a spectrum analyzer ASCII trace file into Matlab variables for further processing.

You are now following this Submission

This m-file reads a spectrum analyzer ASCII trace file into structure for further processing inside Matlab. Actually, the RAW CSV (Comma Separated Values) ASCII files, Rohde&Schwarz ASCII trace files, and Agilent SA trc files are supported. I will be grateful for provision of another spectrum analyzer producers (Agilent, Advantech, Anritsu, WG,...) ASCII trace files to incorporate it to this m-file.
Recent revision is also available here: http://radio.feld.cvut.cz/personal/matejka/wiki/doku.php?id=root:en:projects

Cite As

Stepan Matejka (2026). Read spectrum analyzer trace file (https://www.mathworks.com/matlabcentral/fileexchange/22908-read-spectrum-analyzer-trace-file), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Agilent spectrum analyzer trace file (.trc) added, examples added.

1.1.0.0

Added www link to recent version.

1.0.0.0