tf2tex( tfobj, sstr, input, output)

Convert a transfer function to LaTeX math code

You are now following this Submission

To speed up LaTeX reporting, this function converts a numerator and denominator array that is taken from a MATLAB tf object to LaTex math code. The LaTeX character for s (Laplace variable) can be specified (for example \gls{sym:s} if a symbols list is used). Furthermore it can handle MIMO tf objects, specifiying which input and output is of interest.

Cite As

Joost Meulenbeld (2026). tf2tex( tfobj, sstr, input, output) (https://www.mathworks.com/matlabcentral/fileexchange/54150-tf2tex-tfobj-sstr-input-output), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Changed the behavior: ^1 is no longer displayed, 1s is abbreviated as s.
Bug fixed

1.0.0.0