Matrix to latex Matrix
Version 1.0.0.0 (1.67 KB) by
nicolamr Marcacci Rossi
A variation of matrix2latex. The output is not a tabular but a pmatrix environment.
Just call matrix2latexmatrix(yourmatrix, 'matrixfilename.tex').
Insert in latex:
\input{matrixfilename.tex}
For example:
$y=\input{mymatrix.tex} * x$
Cite As
nicolamr Marcacci Rossi (2026). Matrix to latex Matrix (https://uk.mathworks.com/matlabcentral/fileexchange/28880-matrix-to-latex-matrix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on LaTeX in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: matrix2latex
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
