diff --git a/latex/presentations/midterm/sections/examination_results.tex b/latex/presentations/midterm/sections/examination_results.tex index d58c0bd..965998d 100644 --- a/latex/presentations/midterm/sections/examination_results.tex +++ b/latex/presentations/midterm/sections/examination_results.tex @@ -111,17 +111,18 @@ \centering \begin{tikzpicture}[scale=0.55] - \begin{axis}[view={75}{60}, + \begin{axis}[view={75}{30}, zmode=log, xlabel={$E_b / N_0$ (dB)}, ylabel={$\gamma$}, - zlabel={BER},] + zlabel={BER}, + legend pos=outer north east,] \addplot3[surf, mesh/rows=17, mesh/cols=14, colormap/viridis] table [col sep=comma, x=SNR, y=gamma, z=BER] {res/proximal/2d_ber_fer_dfr_20433484.csv}; - \addlegendentry{$\gamma = \left[ 0\text{:}.01\text{:}.16 \right] $} + \addlegendentry{$\gamma = \left[ 0\text{:}0.01\text{:}0.16 \right] $} \addplot3[red, line width=1.5] table [col sep=comma, discard if not={gamma}{0.05}, x=SNR, y=gamma, z=BER] @@ -156,208 +157,212 @@ \begin{frame}[t] \frametitle{Proximal Decoding: Choice of $\gamma$} - \begin{figure}[H] - \vspace*{-0.5cm} + \begin{minipage}[c]{0.9\textwidth} \centering - \begin{subfigure}[c]{0.33\textwidth} + + \begin{figure}[H] + \vspace*{-0.5cm} \centering - \begin{tikzpicture}[scale=0.35] - \begin{axis}[view={75}{60}, - zmode=log, - xlabel={$E_b / N_0$ (dB)}, - 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/proximal/2d_ber_fer_dfr_963965.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/proximal/2d_ber_fer_dfr_963965.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/proximal/2d_ber_fer_dfr_963965.csv}; - \addlegendentry{$\gamma = 0.01$} - \addplot3[brown, line width=1.5] table[col sep=comma, - discard if not={gamma}{0.15}, + \begin{subfigure}[c]{0.33\textwidth} + \centering + \begin{tikzpicture}[scale=0.4] + \begin{axis}[view={75}{30}, + zmode=log, + xlabel={$E_b / N_0$ (dB)}, + 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/proximal/2d_ber_fer_dfr_963965.csv}; - \addlegendentry{$\gamma = 0.15$} + {res/proximal/2d_ber_fer_dfr_963965.csv}; + \addplot3[red, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.05}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_963965.csv}; + \addplot3[blue, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.01}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_963965.csv}; + \addplot3[brown, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.15}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_963965.csv}; + \end{axis} + \end{tikzpicture} + \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=96, k=48$ \cite[\text{96.3.965}]{mackay_enc}} + \end{subfigure}% + \begin{subfigure}[c]{0.33\textwidth} + \centering + \begin{tikzpicture}[scale=0.4] + \begin{axis}[view={75}{30}, + zmode=log, + xlabel={$E_b/N_0$ (dB)}, + ylabel={$\gamma$}, + zlabel={BER},] + \addplot3[surf, + mesh/rows=17, mesh/cols=14, + colormap/viridis] table [col sep=comma, + x=SNR, y=gamma, z=BER] + {res/proximal/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/proximal/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/proximal/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/proximal/2d_ber_fer_dfr_20433484.csv}; + \end{axis} + \end{tikzpicture} + \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=204, k=102$ \cite[\text{204.33.484}]{mackay_enc}} + \end{subfigure}% + \begin{subfigure}[c]{0.33\textwidth} + \centering + \begin{tikzpicture}[scale=0.4] + \begin{axis}[view={75}{30}, + zmode=log, + xlabel={$E_b / N_0$ (dB)}, + 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/proximal/2d_ber_fer_dfr_40833844.csv}; + \addplot3[red, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.05}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_40833844.csv}; + \addplot3[blue, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.01}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_40833844.csv}; + \addplot3[brown, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.15}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_40833844.csv}; + \end{axis} + \end{tikzpicture} + \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=408, k=204$ \cite[\text{408.33.844}]{mackay_enc}} + \end{subfigure} + \begin{subfigure}[c]{0.33\textwidth} + \centering + \begin{tikzpicture}[scale=0.4] + \begin{axis}[view={75}{30}, + zmode=log, + xlabel={$E_b / N_0$ (dB)}, + 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/proximal/2d_ber_fer_dfr_bch_31_26.csv}; + \addplot3[red, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.05}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_bch_31_26.csv}; + \addplot3[blue, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.01}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_bch_31_26.csv}; + \addplot3[brown, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.15}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_bch_31_26.csv}; + \end{axis} + \end{tikzpicture} + \caption{BCH code with $n=31, k=26$\\[2\baselineskip]} + \end{subfigure}% + \begin{subfigure}[c]{0.33\textwidth} + \centering + \begin{tikzpicture}[scale=0.4] + \begin{axis}[view={75}{30}, + zmode=log, + xlabel={$E_b / N_0$ (dB)}, + 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/proximal/2d_ber_fer_dfr_20455187.csv}; + \addplot3[red, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.05}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_20455187.csv}; + \addplot3[blue, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.01}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_20455187.csv}; + \addplot3[brown, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.15}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_20455187.csv}; + \end{axis} + \end{tikzpicture} + \caption{$\left( 5, 10 \right)$-regular LDPC code with $n=204, k=102$ \cite[\text{204.55.187}]{mackay_enc}} + \end{subfigure}% + \begin{subfigure}[c]{0.33\textwidth} + \centering + \begin{tikzpicture}[scale=0.4] + \begin{axis}[view={75}{30}, + zmode=log, + xlabel={$E_b / N_0$ (dB)}, + 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/proximal/2d_ber_fer_dfr_pegreg252x504.csv}; + \addplot3[red, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.05}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_pegreg252x504.csv}; + \addplot3[blue, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.01}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_pegreg252x504.csv}; + \addplot3[brown, line width=1.5] table[col sep=comma, + discard if not={gamma}{0.15}, + x=SNR, y=gamma, z=BER] + {res/proximal/2d_ber_fer_dfr_pegreg252x504.csv}; + \end{axis} + \end{tikzpicture} + \caption{LDPC code (Progressive Edge Growth Construction) with $n=504, k=252$ \cite[\text{PEGReg252x504}]{mackay_enc}} + \end{subfigure}% + \end{figure} + \end{minipage}% + \begin{minipage}[c]{0.1\textwidth} + \centering + + \begin{figure}[H] + \vspace*{-1.5cm} + \hspace*{-0.4cm} + \centering + \begin{tikzpicture}[scale=0.6] + \begin{axis}[hide axis, + xmin=10, xmax=50, + ymin=0, ymax=0.4, + legend style={draw=white!15!black,legend cell align=left}] + \addlegendimage{surf, colormap/viridis} + \addlegendentry{$\gamma = \left[ 0\text{ : }0.01\text{ : }0.16 \right] $}; + \addlegendimage{red, line width=1.5pt} + \addlegendentry{$\gamma = 0.05$}; + \addlegendimage{blue, line width=1.5pt} + \addlegendentry{$\gamma = 0.01$}; + \addlegendimage{Brown, line width=1.5pt} + \addlegendentry{$\gamma = 0.15$}; \end{axis} \end{tikzpicture} - \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=96, k=48$ \cite[\text{96.3.965}]{mackay_enc}} - \end{subfigure}% - \begin{subfigure}[c]{0.33\textwidth} - \centering - \begin{tikzpicture}[scale=0.35] - \begin{axis}[view={75}{60}, - zmode=log, - xlabel={$E_b/N_0$ (dB)}, - ylabel={$\gamma$}, - zlabel={BER},] - \addplot3[surf, - mesh/rows=17, mesh/cols=14, - colormap/viridis] table [col sep=comma, - x=SNR, y=gamma, z=BER] - {res/proximal/2d_ber_fer_dfr_20433484.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/proximal/2d_ber_fer_dfr_20433484.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/proximal/2d_ber_fer_dfr_20433484.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/proximal/2d_ber_fer_dfr_20433484.csv}; - \addlegendentry{$\gamma = 0.15$} - \end{axis} - \end{tikzpicture} - \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=204, k=102$ \cite[\text{204.33.484}]{mackay_enc}} - \end{subfigure}% - \begin{subfigure}[c]{0.33\textwidth} - \centering - \begin{tikzpicture}[scale=0.35] - \begin{axis}[view={75}{60}, - zmode=log, - xlabel={$E_b / N_0$ (dB)}, - 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/proximal/2d_ber_fer_dfr_40833844.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/proximal/2d_ber_fer_dfr_40833844.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/proximal/2d_ber_fer_dfr_40833844.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/proximal/2d_ber_fer_dfr_40833844.csv}; - \addlegendentry{$\gamma = 0.15$} - \end{axis} - \end{tikzpicture} - \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=408, k=204$ \cite[\text{408.33.844}]{mackay_enc}} - \end{subfigure} - \begin{subfigure}[c]{0.33\textwidth} - \centering - \begin{tikzpicture}[scale=0.35] - \begin{axis}[view={75}{60}, - zmode=log, - xlabel={$E_b / N_0$ (dB)}, - 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/proximal/2d_ber_fer_dfr_bch_31_26.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/proximal/2d_ber_fer_dfr_bch_31_26.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/proximal/2d_ber_fer_dfr_bch_31_26.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/proximal/2d_ber_fer_dfr_bch_31_26.csv}; - \addlegendentry{$\gamma = 0.15$} - \end{axis} - \end{tikzpicture} - \caption{BCH code with $n=31, k=26$\\[2\baselineskip]} - \end{subfigure}% - \begin{subfigure}[c]{0.33\textwidth} - \centering - \begin{tikzpicture}[scale=0.35] - \begin{axis}[view={75}{60}, - zmode=log, - xlabel={$E_b / N_0$ (dB)}, - 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/proximal/2d_ber_fer_dfr_20455187.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/proximal/2d_ber_fer_dfr_20455187.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/proximal/2d_ber_fer_dfr_20455187.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/proximal/2d_ber_fer_dfr_20455187.csv}; - \addlegendentry{$\gamma = 0.15$} - \end{axis} - \end{tikzpicture} - \caption{$\left( 5, 10 \right)$-regular LDPC code with $n=204, k=102$ \cite[\text{204.55.187}]{mackay_enc}} - \end{subfigure}% - \begin{subfigure}[c]{0.33\textwidth} - \centering - \begin{tikzpicture}[scale=0.35] - \begin{axis}[view={75}{60}, - zmode=log, - xlabel={$E_b / N_0$ (dB)}, - 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/proximal/2d_ber_fer_dfr_pegreg252x504.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/proximal/2d_ber_fer_dfr_pegreg252x504.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/proximal/2d_ber_fer_dfr_pegreg252x504.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/proximal/2d_ber_fer_dfr_pegreg252x504.csv}; - \addlegendentry{$\gamma = 0.15$} - \end{axis} - \end{tikzpicture} - \caption{LDPC code (Progressive Edge Growth Construction) with $n=504, k=252$ \cite[\text{PEGReg252x504}]{mackay_enc}} - \end{subfigure}% - \end{figure} + \end{figure} + \end{minipage} \end{frame}