matrix2lyx
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 (2024). matrix2lyx (https://www.mathworks.com/matlabcentral/fileexchange/37349-matrix2lyx), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Matrices and Arrays >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > LaTeX >
Tags
Acknowledgements
Inspired by: matrix2latex
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |