MAT2TEX

(Vectorised) LaTeX code for a matrix
2,3K download
Aggiornato 30 set 2005

Nessuna licenza

MAT2TEX LaTeX code for a matrix.

MAT2TEX(X) returns latex code for NUM2STR(X).

MAT2TEX(X,FORMAT) returns latex code for NUM2STR(X,FORMAT).

See also num2str.

Example:

mat2tex(rand(6,4)*9999) =

$\left[ \begin{array}{cccc}
9500.3427 & 4564.2202 & 9217.2079 & 4102.2918 \\
2311.154 & 185.01793 & 7381.3343 & 8935.6017 \\
6067.819 & 8213.2502 & 1762.4852 & 578.85516 \\
4859.3387 & 4446.5889 & 4056.6564 & 3528.3285 \\
8912.0984 & 6153.708 & 9353.7615 & 8130.8518 \\
7620.2062 & 7918.5784 & 9168.1275 & 98.603145
\end{array} \right]$

Cita come

Mukhtar Ullah (2024). MAT2TEX (https://www.mathworks.com/matlabcentral/fileexchange/8373-mat2tex), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Fixed a bug!