\documentclass[]{article}
\usepackage{mathtools}
\begin{document}
\[
\left(
\begin{array}{ccccc}
1 \\
& 1 & & \text{\huge0}\\
& & 1 \\
& \text{\huge0} & & 1 \\
& & & & 1
\end{array}
\right)
\]
\end{document}
![enter image description here](https://i.stack.imgur.com/PZLA6.png)
or \makebox(0,0){\text{\huge0}}
if you want to have the same line spacing.
Maybe I took it a little too literal.
\documentclass{article}
\usepackage{emerald,tikz}
\usepackage[T1]{fontenc}
\usetikzlibrary{calc,decorations.pathmorphing,fit}
\makeatletter
\pgfdeclaredecoration{penciline}{initial}{
\state{initial}[width=+\pgfdecoratedinputsegmentremainingdistance,auto corner on length=1mm,]{
\pgfpathcurveto%
{% From
\pgfqpoint{\pgfdecoratedinputsegmentremainingdistance}
{\pgfdecorationsegmentamplitude}
}
{% Control 1
\pgfmathparse{0.1*rand}
\pgfpointadd{\pgfqpoint{\pgfdecoratedinputsegmentremainingdistance}{0pt}}
{\pgfqpoint{-\pgfdecorationsegmentaspect\pgfdecoratedinputsegmentremainingdistance}%
{\pgfmathresult\pgfdecorationsegmentamplitude}
}
}
{%TO
\pgfpointadd{\pgfpointdecoratedinputsegmentlast}{\pgfpoint{1pt}{1pt}}
}
}
\state{final}{}
}
\makeatother
\begin{document}\ECFTallPaul
\begin{tikzpicture}
[zeros/.style={},scale=0.8,transform shape,
xes/.style={outer sep=1.5pt,decoration=penciline,decorate}]
\foreach \y in {1,...,4}{
\foreach \x in {1,...,5}{
\ifnum\x>\numexpr\y+1
\node[zeros] (mynode-\x-\y) at (\y,-\x) {0};
\else
\pgfmathparse{\y-\x<1?"draw":""}
\node[xes,\pgfmathresult](mynode-\x-\y) at (\y,-\x) {X};
\ifnum\x<5
\ifnum\x<\y\draw[<-,xes] (mynode-\x-\y) -- +(0,-0.7);\fi
\ifnum\x=\y\draw[<-,xes] (mynode-\x-\y) -- +(0,-0.7);\fi
\ifnum\y<4\draw[<-,xes] (mynode-\x-\y) -- +(0.7,-0.7);\fi
\fi
\fi
}
}
\node[fit=(mynode-1-1)(mynode-5-4),draw,thick,xes,red,label=90:{\Large dependencies}] {};
\begin{scope}[xshift=4.7cm]
\foreach \x[remember=\x as \lastx] in {1,...,5}{
\node (myvecs1-\x) at (0,-\x) {X};
\node (myvecs2-\x) at (1,-\x) {X};
\node (myvecsn-\x) at (5,-\x) {X};
\ifnum\x>1
\draw[->,xes] (myvecs1-\x) -- (myvecs1-\lastx);
\draw[->,xes] (myvecs2-\x) -- (myvecs2-\lastx);
\draw[->,xes] (myvecsn-\x) -- (myvecsn-\lastx);
\fi
}
\node[fit=(myvecs1-1)(myvecsn-5),draw,thick,xes,green!50!blue,label=90:{\Large Free of diagonal dep.}] {};
\end{scope}
\end{tikzpicture}
\end{document}
![enter image description here](https://i.stack.imgur.com/bp8U3.png)
Mostly stolen from
Simulating hand-drawn lines
TikZ marking several blocks in a matrix
and for the font
CTAN font catalogue
Best Answer
For fun: that is easy with
pstricks
: