Minor changes to graphs; Changed csv dilenames

This commit is contained in:
2023-01-23 15:19:48 +01:00
parent 4a64406cb8
commit 36352b307d
8 changed files with 341 additions and 250 deletions

View File

@@ -31,8 +31,6 @@
\delta\left( \boldsymbol{x} - \boldsymbol{c} \right)
\approx \frac{1}{Z} e^{-\gamma h\left( x \right) }
\end{align*}
\todo{How does $\lim_{\gamma\rightarrow\infty}\left( \ldots \right)
= 1 = \delta\left( \ldots \right) $?}
\item MAP rule:
\begin{align*}
\hat{\boldsymbol{x}}

View File

@@ -9,7 +9,7 @@
\begin{frame}[t]
\frametitle{Proximal Decoder: Examination Results}
\begin{itemize}
\item AWGN Channel - LDPC Code with $n=204, k=102$:
\item AWGN Channel - (3,6) regular LDPC Code with $n=204, k=102$:
\vspace{2mm}
\begin{figure}[H]
\centering
@@ -28,18 +28,19 @@
ytick={0, 10e-1, 10e-2, 10e-3, 10e-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}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.15$}
\addplot table [x=SNR, y=BER,
col sep=comma, discard if not={gamma}{0.01}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.01$}
\addplot table [x=SNR, y=BER,
col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.05$}
\end{axis}
\end{tikzpicture}
@@ -53,7 +54,7 @@
\includegraphics[scale=0.6]{res/ber_paper}
\caption{Results from ``Proximal Decoding for LDPC Codes''}
\label{fig:sim_results_prox}
\label{fig:paper_results_prox}
\end{subfigure}%
\end{figure}
@@ -75,9 +76,12 @@
\centering
\begin{tikzpicture}[scale=0.52]
\begin{semilogyaxis}[xlabel={SNR},ylabel={BER}, grid=both, grid style={line width=.1pt}, legend style={at={(0.05,0.05)},anchor=south west}]
\begin{semilogyaxis}[xlabel={SNR}, ylabel={BER},
grid=both, grid style={line width=.1pt},
legend style={at={(0.05,0.05)},anchor=south west},
ymin=3e-7, ymax=1.5,]
\foreach \gamma in {0.01, 0.05, 0.15}{
\addplot table [x=SNR, y=BER, col sep=comma, discard if not={gamma}{\gamma}] {res/2d_ber_fer_dfr_20433484.csv};
\addplot table [x=SNR, y=BER, col sep=comma, discard if not={gamma}{\gamma}] {res/2d_ber_fer_dfr_20433484_proximal.csv};
\legend{\gamma}
}
\legend{$\gamma=0.01$, $\gamma=0.05$, $\gamma=0.15$}
@@ -92,14 +96,14 @@
zmode=log,
xlabel={SNR},
ylabel={$\gamma$},
zlabel={BER}]
\addplot3[surf, mesh/rows=17, mesh/cols=10, colormap/viridis] table [col sep=comma, x=SNR, y=gamma, z=BER] {res/2d_ber_fer_dfr_20433484.csv};
zlabel={BER},]
\addplot3[surf, mesh/rows=17, mesh/cols=14, colormap/viridis] table [col sep=comma, x=SNR, y=gamma, z=BER] {res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = \left[ 0\text{:}.01\text{:}.16 \right] $}
\addplot3[red, line width=1.5] table[col sep=comma, discard if not={gamma}{0.05}, x=SNR, y=gamma, z=BER] {res/2d_ber_fer_dfr_20433484.csv};
\addplot3[red, line width=1.5] table[col sep=comma, discard if not={gamma}{0.05}, x=SNR, y=gamma, z=BER] {res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.05$}
\addplot3[blue, line width=1.5] table[col sep=comma, discard if not={gamma}{0.01}, x=SNR, y=gamma, z=BER] {res/2d_ber_fer_dfr_20433484.csv};
\addplot3[blue, line width=1.5] table[col sep=comma, discard if not={gamma}{0.01}, x=SNR, y=gamma, z=BER] {res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.01$}
\addplot3[brown, line width=1.5] table[col sep=comma, discard if not={gamma}{0.15}, x=SNR, y=gamma, z=BER] {res/2d_ber_fer_dfr_20433484.csv};
\addplot3[brown, line width=1.5] table[col sep=comma, discard if not={gamma}{0.15}, x=SNR, y=gamma, z=BER] {res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.15$}
\end{axis}
\end{tikzpicture}
@@ -144,16 +148,16 @@ Output $\boldsymbol{\hat{x}}$
xlabel={SNR}, ylabel={BER},
ymode=log,
legend style={at={(0.05,0.05)},anchor=south west},
ymax=1.5, ymin=0.8e-4,
ymax=1.5, ymin=3e-7,
]
\addplot table [x=SNR, y=BER, col sep=comma, discard if not={gamma}{0.15}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.15$}
\addplot table [x=SNR, y=BER, col sep=comma, discard if not={gamma}{0.01}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.01$}
\addplot table [x=SNR, y=BER, col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.05$}
\end{axis}
\end{tikzpicture}\\
@@ -163,16 +167,16 @@ Output $\boldsymbol{\hat{x}}$
xlabel={SNR}, ylabel={FER},
ymode=log,
legend style={at={(0.05,0.05)},anchor=south west},
ymax=1.5, ymin=0.8e-4,
ymax=1.5, ymin=3e-7,
]
\addplot table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.15}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.15$}
\addplot table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.01}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.01$}
\addplot table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.05$}
\end{axis}
\end{tikzpicture}
@@ -182,22 +186,22 @@ Output $\boldsymbol{\hat{x}}$
xlabel={SNR}, ylabel={Decoding Failure Rate},
ymode=log,
legend style={at={(0.05,0.05)},anchor=south west},
ymax=1.5, ymin=0.8e-4,
ymax=1.5, ymin=3e-7,
]
\addplot table [x=SNR, y=DFR, col sep=comma, discard if not={gamma}{0.15}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.15$}
\addplot table [x=SNR, y=DFR, col sep=comma, discard if not={gamma}{0.01}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.01$}
\addplot table [x=SNR, y=DFR, col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484.csv};
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{$\gamma = 0.05$}
\end{axis}
\end{tikzpicture}
\caption{Simulation results for $\omega = 0.05, K=100$}
\label{fig:simulation_results}
\label{fig:simulation_results_ber_fer_dfr}
\end{figure}
\end{minipage}
\end{frame}
@@ -214,7 +218,7 @@ Output $\boldsymbol{\hat{x}}$
xlabel={SNR}, ylabel={BER},
ymode=log,
legend style={at={(0.05,0.05)},anchor=south west},
ymax=1.5, ymin=0.8e-5,
ymax=1.5, ymin=3e-8,
]
% \addplot table [x=SNR, y=BER, col sep=comma, discard if not={gamma}{0.15}]
% {res/2d_ber_fer_dfr_20433484.csv};
@@ -223,11 +227,11 @@ Output $\boldsymbol{\hat{x}}$
% {res/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}]
{res/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.05$}
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{proximal}
\addplot table [x=SNR, y=BER, col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484_hybrid.csv};
\addlegendentry{hybrid $\gamma = 0.05$}
\addlegendentry{hybrid prox. \& ML}
\end{axis}
\end{tikzpicture}\\
\begin{tikzpicture}[scale=0.45]
@@ -236,7 +240,7 @@ Output $\boldsymbol{\hat{x}}$
xlabel={SNR}, ylabel={FER},
ymode=log,
legend style={at={(0.05,0.05)},anchor=south west},
ymax=1.5, ymin=0.8e-5,
ymax=1.5, ymin=3e-8,
]
% \addplot table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.15}]
% {res/2d_ber_fer_dfr_20433484.csv};
@@ -245,11 +249,11 @@ Output $\boldsymbol{\hat{x}}$
% {res/2d_ber_fer_dfr_20433484.csv};
% \addlegendentry{$\gamma = 0.01$}
\addplot table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.05$}
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{proximal}
\addplot table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484_hybrid.csv};
\addlegendentry{hybrid $\gamma = 0.05$}
\addlegendentry{hybrid prox. \& ML}
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}[scale=0.45]
@@ -258,7 +262,7 @@ Output $\boldsymbol{\hat{x}}$
xlabel={SNR}, ylabel={Decoding Failure Rate},
ymode=log,
legend style={at={(0.05,0.05)},anchor=south west},
ymax=1.5, ymin=0.8e-5,
ymax=1.5, ymin=3e-8,
]
% \addplot table [x=SNR, y=DFR, col sep=comma, discard if not={gamma}{0.15}]
% {res/2d_ber_fer_dfr_20433484.csv};
@@ -267,16 +271,16 @@ Output $\boldsymbol{\hat{x}}$
% {res/2d_ber_fer_dfr_20433484.csv};
% \addlegendentry{$\gamma = 0.01$}
\addplot table [x=SNR, y=DFR, col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.05$}
{res/2d_ber_fer_dfr_20433484_proximal.csv};
\addlegendentry{proximal}
\addplot table [x=SNR, y=DFR, col sep=comma, discard if not={gamma}{0.05}]
{res/2d_ber_fer_dfr_20433484_hybrid.csv};
\addlegendentry{hybrid $\gamma = 0.05$}
\addlegendentry{hybrid prox. \& ML}
\end{axis}
\end{tikzpicture}
\caption{Simulation results for $\omega = 0.05, K=100$}
\label{fig:simulation_results}
\caption{Simulation results for $\gamma = 0.05, \omega = 0.05, K=200$}
\label{fig:simulation_results_hybrid}
\end{figure}
\end{frame}