vector in latex code example
Example 1: 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}
Example 2: latex vector
$\overrightarrow{AB} = 0_E$
Example 3: vector latex
\begin{bmatrix} x_1 \\ \vdots \\ x_n \end{bmatrix}
Example 4: latex vector syntax
%For vector A%
\Vec{A}