matrix2lyx

Converts a MATLAB matrix to a LyX table. See www.lyx.org.

You are now following this Submission

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 .

Acknowledgements

Inspired by: matrix2latex

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0