Latex how represent a matrix as a set code example
Example: how to write a matrix latex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
M=
\begin{bmatrix}
1 & 2 & 3 & 4 & 5 \\
3 & 4 & 5 & 6 & 7
\end{bmatrix}
\]
\end{document}