Tag Info

New answers tagged


The version $left[{\matrix{2 \cr 1 \cr 4 \cr}}\right]$ is pure plain TeX and typesets a matrix whereas $\begin{bmatrix} 2 \\ 1 \\ 4 \end{bmatrix}$ is using the bmatrix environment, which is LaTeX accordingly then. It requires either amsmath or mathtools package. Most probably, matlab does not use those packages by default. Two small examples: ...

Top 50 recent answers are included