This is LaTeX code:

[latex]
A=\begin{bmatrix} 2 & 0 \\ i & -1 \end{bmatrix}
[/latex]