How to note a segment (a part) of a larger vector?
Say I have
$$ \vec{x} = \begin{pmatrix}x_1 & x_2 & x_3 & x_4 & x_5\end{pmatrix} $$
And I want to extract a specific section:
$$ \vec{y} = \begin{pmatrix}x_2 & x_3 & x_4\end{pmatrix} $$
Is there a clear and generally accepted notation for this?
Basically what in MATLAB or Python would be y = x[2:4].
Would any reader understand $y=x_{2:4}$?
We can represent the vector $\vec{x}$ using index notation: \begin{align*} \vec{x}=\left(x_j\right)_{1\leq j \leq 5} \end{align*} The vector $\vec{y}$ can then be written as \begin{align*} \vec{y}=\left(x_j\right)_{2\leq j\leq 4} \end{align*} In general we can write using index sets $S\subset T$: \begin{align*} \vec{x}=\left(x_j\right)_{j\in T}\qquad\qquad \vec{y}=\left(x_j\right)_{j\in S} \end{align*}