Given a matrix $A \in \mathbb{R}^{m \times n}$, I would like to obtain a column sub matrix of $A$, given a particular column index set, $\mathbb{i}$. Let us call this sub matrix, $\tilde{A}$. Is there any matrix operation I can carry out on $A$ to get $\tilde{A}$?
For example, let \begin{equation} A=\left[\begin{array}{ccccc} 0.2 & 0.5 & 0.2 & -0.1 & 0.9\\ -0.5 & 0.6 & 0.3 & 0.7 & 0.8\\ 0.3 & 0.1 & -0.5 & -0.3 & 0.1 \end{array}\right],\; and \; \mathbf{i}=\left[1,3,4\right]. \end{equation} Then we have
\begin{equation} \tilde{A}=\left[\begin{array}{ccc} 0.2 & 0.2 & -0.1\\ -0.5 & 0.3 & 0.7\\ 0.3 & -0.5 & -0.3 \end{array}\right]. \end{equation} I need this operation to be generalizable to all $m \times n$ matrices $A$ for all $\mathbb{i}$.