[Tex/LaTex] How to represent the following math equation (border matrix) in Latex

bordermatrixequationsmath-mode

enter image description here

I am frustrated in setting the above attached picture to my manuscript. All things are feasible by using the \begin{cases} or matrices environment. The placing of T1, T2, … , Tn and V1, V2, …, Vn in the respective columns and rows are quite disgusting. Please Help through suggesting how to represent the following.

Furthermore, is there exist anyway to place a big left brace, bigger than even the size of \Biggl. I have tried all combinations, but fail to produce the desire output.

Thank You in Advance.

Best Answer

One option using blkarray:

\documentclass{article}
\usepackage{blkarray}
\usepackage{amsmath}

\begin{document}

\[
ETC_{ij}=
\begin{blockarray}{ccccc}
 & V_{1} & V_{2} & \cdots & V_{m} \\
\begin{block}{c\{cccc}
  T_{1} & ETC_{11} & ETC_{12} & \cdots & ETC_{1m} \\
  T_{2} & ETC_{21} & ETC_{22} & \cdots & ETC_{2m} \\
  \vdots & \vdots & \vdots & \vdots & \vdots \\
  T_{n} & ETC_{n1} & ETC_{n2} & \cdots & ETC_{nm} \\
\end{block}
\end{blockarray}
 \]

\end{document}

enter image description here

As Bernard mentions in his comment, suppressing some horizontal spacing with @{} at the beginning of the blocks, and increasing the value of \arraystretch improves the result:

\documentclass{article}
\usepackage{blkarray}
\usepackage{amsmath}

\begin{document}

\[
\renewcommand\arraystretch{1.3}
ETC_{ij}=
\begin{blockarray}{ccccc}
 & V_{1} & V_{2} & \cdots & V_{m} \\
\begin{block}{@{}c\{cccc}
  T_{1} & ETC_{11} & ETC_{12} & \cdots & ETC_{1m} \\
  T_{2} & ETC_{21} & ETC_{22} & \cdots & ETC_{2m} \\
  \vdots & \vdots & \vdots & \vdots & \vdots \\
  T_{n} & ETC_{n1} & ETC_{n2} & \cdots & ETC_{nm} \\
\end{block}
\end{blockarray}
 \]

\end{document}

enter image description here

Related Question