Include pre-built figures when \overleaftrue is set
This commit is contained in:
parent
3805d927bf
commit
2cab8aa178
32
letter.tex
32
letter.tex
@ -27,7 +27,11 @@
|
|||||||
|
|
||||||
|
|
||||||
\newif\ifoverleaf
|
\newif\ifoverleaf
|
||||||
%\overleaftrue
|
%\overleaftrue % When enabled, this option allows the document to be compiled
|
||||||
|
% on overleaf:
|
||||||
|
% - common.tex is sourced from a different directory
|
||||||
|
% - Externalization is disabled
|
||||||
|
% - Figures are included from pre-build PDFs
|
||||||
|
|
||||||
|
|
||||||
%
|
%
|
||||||
@ -362,6 +366,10 @@ decoded bits.%
|
|||||||
\begin{figure}
|
\begin{figure}
|
||||||
\centering
|
\centering
|
||||||
|
|
||||||
|
|
||||||
|
\ifoverleaf
|
||||||
|
\includegraphics{figs/letter-figure0.pdf}
|
||||||
|
\else
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\begin{axis}[
|
\begin{axis}[
|
||||||
grid=both,
|
grid=both,
|
||||||
@ -394,6 +402,7 @@ decoded bits.%
|
|||||||
\addlegendentry{DFR}
|
\addlegendentry{DFR}
|
||||||
\end{axis}
|
\end{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
|
\fi
|
||||||
|
|
||||||
\caption{FER, DFR, and BER for $\left( 3, 6 \right)$-regular LDPC code with
|
\caption{FER, DFR, and BER for $\left( 3, 6 \right)$-regular LDPC code with
|
||||||
$n=204, k=102$ \cite[\text{204.33.484}]{mackay}.
|
$n=204, k=102$ \cite[\text{204.33.484}]{mackay}.
|
||||||
@ -427,6 +436,9 @@ optimization process.%
|
|||||||
\begin{figure}
|
\begin{figure}
|
||||||
\centering
|
\centering
|
||||||
|
|
||||||
|
\ifoverleaf
|
||||||
|
\includegraphics{figs/letter-figure1.pdf}
|
||||||
|
\else
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\begin{axis}[xmin = -1.25, xmax=1.25,
|
\begin{axis}[xmin = -1.25, xmax=1.25,
|
||||||
ymin = -1.25, ymax=1.25,
|
ymin = -1.25, ymax=1.25,
|
||||||
@ -470,9 +482,13 @@ optimization process.%
|
|||||||
};
|
};
|
||||||
\end{axis}
|
\end{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
|
\fi
|
||||||
|
|
||||||
\vspace{3mm}
|
\vspace{3mm}
|
||||||
|
|
||||||
|
\ifoverleaf
|
||||||
|
\includegraphics{figs/letter-figure2.pdf}
|
||||||
|
\else
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\begin{axis}[xmin = -1.25, xmax=1.25,
|
\begin{axis}[xmin = -1.25, xmax=1.25,
|
||||||
ymin = -1.25, ymax=1.25,
|
ymin = -1.25, ymax=1.25,
|
||||||
@ -513,7 +529,7 @@ optimization process.%
|
|||||||
\addlegendentry{$\nabla h\left(\tilde{\boldsymbol{x}}\right)$};
|
\addlegendentry{$\nabla h\left(\tilde{\boldsymbol{x}}\right)$};
|
||||||
\end{axis}
|
\end{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
|
\fi
|
||||||
\caption{Gradients
|
\caption{Gradients
|
||||||
$\nabla L\left(\boldsymbol{y} \mid \tilde{\boldsymbol{x}}\right)$
|
$\nabla L\left(\boldsymbol{y} \mid \tilde{\boldsymbol{x}}\right)$
|
||||||
and $\nabla h \left( \tilde{\boldsymbol{x}} \right)$ for a repetition
|
and $\nabla h \left( \tilde{\boldsymbol{x}} \right)$ for a repetition
|
||||||
@ -537,6 +553,9 @@ oscillate after a certain number of iterations.%
|
|||||||
\begin{figure}
|
\begin{figure}
|
||||||
\centering
|
\centering
|
||||||
|
|
||||||
|
\ifoverleaf
|
||||||
|
\includegraphics{figs/letter-figure3.pdf}
|
||||||
|
\else
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\begin{axis}[
|
\begin{axis}[
|
||||||
grid=both,
|
grid=both,
|
||||||
@ -567,6 +586,7 @@ oscillate after a certain number of iterations.%
|
|||||||
\addlegendentry{$\left(\nabla h\right)_1$}
|
\addlegendentry{$\left(\nabla h\right)_1$}
|
||||||
\end{axis}
|
\end{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
|
\fi
|
||||||
|
|
||||||
\caption{Visualization of component $\left(\tilde{\boldsymbol{x}}\right)_1$
|
\caption{Visualization of component $\left(\tilde{\boldsymbol{x}}\right)_1$
|
||||||
for a decoding operation for a (3,6) regular LDPC code with
|
for a decoding operation for a (3,6) regular LDPC code with
|
||||||
@ -595,6 +615,9 @@ the probability that a given component was decoded incorrectly.%
|
|||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\centering
|
\centering
|
||||||
|
|
||||||
|
\ifoverleaf
|
||||||
|
\includegraphics{figs/letter-figure4.pdf}
|
||||||
|
\else
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\begin{axis}[
|
\begin{axis}[
|
||||||
grid=both,
|
grid=both,
|
||||||
@ -610,6 +633,7 @@ the probability that a given component was decoded incorrectly.%
|
|||||||
table [col sep=comma, y=p_error]{res/p_error.csv};
|
table [col sep=comma, y=p_error]{res/p_error.csv};
|
||||||
\end{axis}
|
\end{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
|
\fi
|
||||||
|
|
||||||
\caption{Probability that a component of the estimated codeword
|
\caption{Probability that a component of the estimated codeword
|
||||||
$\hat{\boldsymbol{c}}\in \mathbb{F}_2^n$ is erroneous for a (3,6) regular
|
$\hat{\boldsymbol{c}}\in \mathbb{F}_2^n$ is erroneous for a (3,6) regular
|
||||||
@ -683,6 +707,9 @@ Again, these parameters were chosen,%
|
|||||||
\begin{figure}
|
\begin{figure}
|
||||||
\centering
|
\centering
|
||||||
|
|
||||||
|
\ifoverleaf
|
||||||
|
\includegraphics{figs/letter-figure5.pdf}
|
||||||
|
\else
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\begin{axis}[
|
\begin{axis}[
|
||||||
grid=both,
|
grid=both,
|
||||||
@ -727,6 +754,7 @@ Again, these parameters were chosen,%
|
|||||||
\addlegendentry{BER, improved};
|
\addlegendentry{BER, improved};
|
||||||
\end{axis}
|
\end{axis}
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
|
\fi
|
||||||
|
|
||||||
\caption{FER and BER of proximal decoding \cite{proximal_paper} and the
|
\caption{FER and BER of proximal decoding \cite{proximal_paper} and the
|
||||||
improved algorithm for a $\left( 3, 6 \right)$-regular LDPC code with
|
improved algorithm for a $\left( 3, 6 \right)$-regular LDPC code with
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user