Matlab matrix to LaTeX conversion example

Script showing a simple way to convert a MATLAB numeric matrix to LaTeX.

Vous suivez désormais cette soumission

This script shows a simple way to convert a MATLAB numeric matrix to a LaTeX matrix. In the script, choose matrix to convert and output formatting. The resulting LaTeX matrix is printed in the command window after running the script. The resulting LaTeX matrix requires amsmath package. Here is a LaTeX example of how to use the output of the script:

\documentclass{report}

\usepackage{amsmath}

\begin{document} {

% Place the output of the script here:
\begin{bmatrix}
0.45 & 0.71 \cr
0.65 & 0.75
\end{bmatrix}

\end{document}

Citation pour cette source

Lu Ce (2026). Matlab matrix to LaTeX conversion example (https://fr.mathworks.com/matlabcentral/fileexchange/80629-matlab-matrix-to-latex-conversion-example), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : Matrix to Latex

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.3

No update.

1.0.2

No updates.

1.0.1

No updates.

1.0.0