Matlab matrix to LaTeX conversion example

版本 1.0.3 (1.2 KB) 作者: Lu Ce
Script showing a simple way to convert a MATLAB numeric matrix to LaTeX.
695.0 次下载
更新时间 2020/10/1

查看许可证

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}

引用格式

Lu Ce (2024). Matlab matrix to LaTeX conversion example (https://www.mathworks.com/matlabcentral/fileexchange/80629-matlab-matrix-to-latex-conversion-example), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020b
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

启发作品: Matrix to Latex

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.3

No update.

1.0.2

No updates.

1.0.1

No updates.

1.0.0