matrix2lyx
Version 1.0.0.0 (2.04 KB) by
Pål Næverlid Sævik
Converts a MATLAB matrix to a LyX table. See www.lyx.org.
MATRIX2LYX Save matrix as LyX table
MATRIX2LYX(M,F) saves the matrix M in the LyX file given by F.
MATRIX2LYX(M,F,FORMAT) uses the format string FORMAT (see SPRINTF for
details).
Example
M = magic(4);
matrix2lyx(M, 'table.lyx', '%d');
stores the matrix M in the file named 'table.lyx', using the number
format '%d'.
Cite As
Pål Næverlid Sævik (2026). matrix2lyx (https://www.mathworks.com/matlabcentral/fileexchange/37349-matrix2lyx), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Matrices and Arrays >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > LaTeX >
Find more on Matrices and Arrays 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 |
