making of matrix in latex code example
Example: how to make matrix latex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
$$
\begin{bmatrix}
a & b & c \\
c & d & d\\
e & f & g \\
\end{bmatrix}
\quad
$$
\end{document}