With {NiceMatrix}
of the package nicematrix
.
\documentclass{article}
\usepackage{nicematrix}
\usepackage{tikz}
\begin{document}
\NewDocumentCommand{\zero}{}{\Block{}<\Large>{0}}
$\begin{NiceMatrix}[nullify-dots,columns-width=4mm,xdots/shorten=5pt]
\CodeBefore
\SubMatrix({3-2}{5-4})
\Body
& & \clap{column $j$} \\
& & \downarrow \\[1mm]
& \zero & \Vdots & \zero \\
\text{row } i \to & \Cdots & 1 & \Cdots \\
& \zero & \Vdots & \zero
\end{NiceMatrix}$
\end{document}
You need several compilations (because nicematrix
uses PGF/Tikz nodes under the hood).
