Put paper and own simulation results into same plot

This commit is contained in:
2023-01-26 17:32:49 +01:00
parent 36d72cdd95
commit c282c9f0b2
2 changed files with 81 additions and 49 deletions

View File

@@ -9,63 +9,84 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[t]
\frametitle{Proximal Decoding: Bit Error Rate and Performance}
\vspace*{-0.5cm}
\begin{itemize}
\item Comparison of simulation
\footnote{(3,6) regular LDPC code with $n=204, k=102$
\cite[\text{204.33.484}]{mackay_enc}}
with results of Wadayama and Takabe
\end{itemize}
\begin{figure}[H]
\centering
\begin{figure}[H]
\centering
\begin{subfigure}{0.5\textwidth}
\centering
\begin{tikzpicture}[scale=0.5]
\begin{axis}[
grid=both, grid style={line width=.1pt},
xlabel={$E_b / N_0$ (dB)}, ylabel={Bit Error Rate},
ymode=log,
% legend style={at={(0.05,0.05)},anchor=south west},
legend pos=outer north east,
width=11.5cm,
height=8cm,
ymax=1.2, ymin=0.8e-4,
xtick={1, 2, ..., 5},
xmin=0.9, xmax=5.6,
legend columns=2,
]
%\addlegendimage{ForestGreen, mark=*, solid}
%\addlegendentry{proximal, $\gamma = 0.15$}
%\addlegendimage{NavyBlue, mark=*, solid}
%\addlegendentry{proximal, $\gamma = 0.01$}
%
%\addlegendimage{RedOrange, mark=*, solid}
%\addlegendentry{proximal, $\gamma = 0.05$}
%
%\addlegendimage{Emerald, mark=triangle, densely dashed}
%\addlegendentry{hybrid, $\gamma = 0.15$}
%
%\addlegendimage{RoyalPurple, mark=triangle, densely dashed}
%\addlegendentry{hybrid, $\gamma = 0.01$}
%
%\addlegendimage{red, mark=triangle, densely dashed}
%\addlegendentry{hybrid, $\gamma = 0.05$}
\addplot [ForestGreen, mark=triangle, dashed, line width=1pt] table [x=SNR, y=BER, col sep=comma,
discard if not={gamma}{0.15},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.15$}
\addplot [ForestGreen, mark=*, line width=1pt] table [x=SNR, y=gamma_0_15, col sep=comma] {res/ber_paper.csv};
\addlegendentry{$\gamma = 0.15$ (Wadayama et al.)}
\addplot [NavyBlue, mark=triangle, dashed, line width=1pt] table [x=SNR, y=BER, col sep=comma,
discard if not={gamma}{0.01},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.01$}
\addplot [NavyBlue, mark=*, line width=1pt] table [x=SNR, y=gamma_0_01, col sep=comma] {res/ber_paper.csv};
\addlegendentry{$\gamma = 0.01$ (Wadayama et al.)}
\addplot [RedOrange, mark=triangle, dashed, line width=1pt] table [x=SNR, y=BER, col sep=comma,
discard if not={gamma}{0.05},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.05$}
\addplot [RedOrange, mark=*, line width=1pt] table [x=SNR, y=gamma_0_05, col sep=comma] {res/ber_paper.csv};
\addlegendentry{$\gamma = 0.05$ (Wadayama et al.)}
\begin{tikzpicture}[scale=0.45]
\begin{axis}[
grid=both,
xlabel={$E_b / N_0$ (dB)}, ylabel={Bit Error Rate},
ymode=log,
legend style={at={(0.05,0.05)},anchor=south west},
width=11.5cm,
height=8cm,
ytick={0, 1e-1, 1e-2, 1e-3, 1e-4},
xtick={1, 2, 3, 4, 5},
ymax=1.2, ymin=0.8e-4,
xmin=0.9, xmax=5.6,
]
\addplot table [x=SNR, y=BER, col sep=comma,
discard if not={gamma}{0.15},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.15$}
\addplot table [x=SNR, y=BER, col sep=comma,
discard if not={gamma}{0.01},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.01$}
\addplot table [x=SNR, y=BER, col sep=comma,
discard if not={gamma}{0.05},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.05$}
\end{axis}
\end{tikzpicture}
\caption{Simulation results for $\omega = 0.05, K=100$}
\label{fig:sim_results_prox}
\end{subfigure}%
\begin{subfigure}{0.5\textwidth}
\centering
\addplot [RoyalPurple, mark=*, line width=1pt] table [x=SNR, y=BP, col sep=comma] {res/ber_paper.csv};
\addlegendentry{BP}
\includegraphics[scale=0.6]{res/ber_paper}
\caption{Results from ``Proximal Decoding for LDPC Codes''}
\label{fig:paper_results_prox}
\end{subfigure}%
\end{figure}
\end{axis}
\end{tikzpicture}
\caption{Simulation results for $\omega = 0.05, K=100$}
\label{fig:sim_results_prox}
\end{figure}
\vspace*{-0.5cm}
\begin{itemize}
\item $\mathcal{O}\left(n \right) $ time complexity - same as BP;
only multiplication and addition necessary \cite{proximal_paper}
\item Measured Performance: $\sim\SI{10000}{}$ frames/s
@@ -81,7 +102,7 @@
\setcounter{footnote}{0}
\begin{itemize}
\item Analysis of simulation
\item Simulation
\footnote{(3,6) regular LDPC code with $n=204, k=102$
\cite[\text{204.33.484}]{mackay_enc}}
results for different values of $\gamma$
@@ -1438,7 +1459,7 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{c}}_n\text{ with lowest }d
\begin{tikzpicture}[scale=0.6]
\begin{axis}[
grid=both,
xlabel={k},
xlabel={Iterations},
ylabel={Average $\left| \boldsymbol{x}-\boldsymbol{\hat{x}} \right|$},
legend pos=outer north east,
]