I am trying to put braces on matrix that cover just few rows or columns.
I have come kinda close for the columns but no idea for the rows.
This is the example I have been working on:
\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
A = \begin{array}{c@{\!\!\!}l}
\left( \begin{array}[c]{ccc}
a1 & \cdots & aN\\
b1 & \cdots & bN\\
\vdots & & \vdots\\
z1 & \cdots & zN \\
\end{array} \right)
&
\begin{array}[c]{ll}
\left. \begin{array}{c} \vphantom{1cm} \\ \vphantom{2*\vdots}
\\ \vphantom{1cm} \end{array} \right\} & \text{$n_1$ times} \\
\end{array}
\end{array}
\end{equation*}
\end{document}
which produces this:
Does anyone have any idea?