how to write a column vector in latex code example
Example: column vector latex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
y &= \begin{bmatrix}
x_{1} \\
x_{2} \\
\vdots \\
x_{m}
\end{bmatrix}
\end{align}
\end{document}