Matrix to Latex
Versión 1.0.0 (1,5 KB) por
Ahmed Mahfouz
Generate the latex code for any numerical 2D matrix
The function displays the latex code for any numerical 2D matrix on the command window.
INPUTS:
- M: The numerical matrix to be converted to latex
- frmt (Optional): The text formatting speciffier. (Default: '%0.4f')
Outputs
- None
Examples
M = rand(3);
mat2latex(M)
mat2latex(M, '%0.2g');
Citar como
Ahmed Mahfouz (2024). Matrix to Latex (https://www.mathworks.com/matlabcentral/fileexchange/135251-matrix-to-latex), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2023a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspirado por: Matlab matrix to LaTeX conversion example
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |