matrix2lyx

Converts a MATLAB matrix to a LyX table. See www.lyx.org.
658 Downloads
Updated 29 Jun 2012

View License

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
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: matrix2latex

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0