tf2tex( tfobj, sstr, input, output)

Convert a transfer function to LaTeX math code
172 Downloads
Updated 16 Dec 2015

View License

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 (2024). tf2tex( tfobj, sstr, input, output) (https://www.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 Linux
Categories
Find more on Dynamic System Models in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.0.0.0

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

1.0.0.0