Publisher review:matlab latex - Output a matrix in LaTeX format This file will output a MATLAB numeric matrix in a format suitable to paste into a LaTeX tabular environment. You can choose whether to individually cast each element in math mode (you wouldn't want to in the AMS bmatrix environment, for example). You can also choose a format specifier independently for each column of the matrix.I find this useful to convert true matrices, convergence tables, and the like into a document-ready form. It's independent of the Symbolic Toolbox.Examples:>> latex(toeplitz(1:4))$1.0000$ & $2.0000$ & $3.0000$ & $4.0000$ $2.0000$ & $1.0000$ & $2.0000$ & $3.0000$ $3.0000$ & $2.0000$ & $1.0000$ & $2.0000$ $4.0000$ & $3.0000$ & $2.0000$ & $1.0000$ >> latex(toeplitz(1:4),'%i','nomath')1 & 2 & 3 & 4 2 & 1 & 2 & 3 3 & 2 & 1 & 2 4 & 3 & 2 & 1 >> latex(toeplitz(1:4),'%i','%.2f')$1$ & $2.00$ & $3.00$ & $4.00$ $2$ & $1.00$ & $2.00$ & $3.00$ $3$ & $2.00$ & $1.00$ & $2.00$ $4$ & $3.00$ & $2.00$ & $1.00$ Requirements: ยท MATLAB Release: R13
matlab latex is a Matlab script for Scientific/Engineering scripts design by Tobin Driscoll.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris