tf2tex( tfobj, sstr, input, output)
Version 2.0.0.0 (2.05 KB) by
Joost Meulenbeld
Convert a transfer function to LaTeX math code
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://ch.mathworks.com/matlabcentral/fileexchange/54150-tf2tex-tfobj-sstr-input-output), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Dynamic System Models in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.