This code gives a single side brace for the vector (shown in black in image below).How can I modify this code to get two side braces (as shown in pink picture below) instead of single
$${\bf x} = \left.\left(
\begin{array}{c}
x_1\\
\vdots\\
x_{n_1}\\
x_{n_1+1}\\
\vdots\\
x_n
\end{array}
\right)
\right\}n
$$
Best Answer
There may be easier ways, but here it is with stacks.
If the braces need to be asymmetric: