Browse Source

FIX: replace tabs with spaces

tags/v1.0-b1
parent
commit
1692276bf8
3 changed files with 119 additions and 119 deletions
  1. +105
    -105
      report/AuthReport.tex
  2. +7
    -7
      report/session1.tex
  3. +7
    -7
      report/session2.tex

+ 105
- 105
report/AuthReport.tex View File

@@ -2,17 +2,17 @@
% AUTH report settings
%
% author:
% Χρήστος Χουτουρίδης ΑΕΜ 8997
% cchoutou@ece.auth.gr
% Χρήστος Χουτουρίδης ΑΕΜ 8997
% cchoutou@ece.auth.gr

% Requirements
% ===============================================================
%
% \ClassName: To print Class name
% \DocTitle: To print document title
% \InstructorName: To print instructor's mame
% \InstructorMail: To print instructor's mame
% \CurrentDate : To print the date
% \ClassName: To print Class name
% \DocTitle: To print document title
% \InstructorName: To print instructor's mame
% \InstructorMail: To print instructor's mame
% \CurrentDate: To print the date

% Exported commands
% ===============================================================
@@ -25,7 +25,7 @@
% Global configuration
% ===============================================================
% Note: You can reassign them with \renewcommand
% AFTER the \input{AUTH_Settings_Report.tex}
% AFTER the \input{AUTH_Settings_Report.tex}
%
\newcommand{\AuthorName}{Χρήστος Χουτουρίδης}
\newcommand{\AuthorMail}{cchoutou@ece.auth.gr}
@@ -35,9 +35,9 @@
% Packages and document configuration
% ===============================================================
\documentclass[11pt, twoside, a4paper]{article}
\usepackage[margin=20mm, top=25mm]{geometry} % Document margins
\usepackage[margin=20mm, top=25mm]{geometry} % Document margins

\usepackage[LGR, T1]{fontenc} % Language hyphenation and typographical rules
\usepackage[LGR, T1]{fontenc} % Language hyphenation and typographical rules
\usepackage[utf8]{inputenc}
\usepackage{microtype}
\usepackage{lmodern}
@@ -45,10 +45,10 @@

\usepackage[pdfencoding=auto]{hyperref}

\usepackage{enumitem} % Customized lists
\setlist[itemize]{noitemsep} % Make itemize lists more compact
\usepackage{enumitem} % Customized lists
\setlist[itemize]{noitemsep} % Make itemize lists more compact

\usepackage{graphicx} % Graphics and figures
\usepackage{graphicx} % Graphics and figures
\graphicspath{ {images/} }
\usepackage{wrapfig}
% Custom captions under/above floats in tables or figures
@@ -66,9 +66,9 @@

% Headers
\usepackage{fancyhdr}
\pagestyle{fancy} % All pages have headers and footers
\fancyhead{} % Blank out the default header
\fancyfoot{} % Blank out the default footer
\pagestyle{fancy} % All pages have headers and footers
\fancyhead{} % Blank out the default header
\fancyfoot{} % Blank out the default footer
\fancyfoot[RO,LE]{\thepage} % Custom footer text
\pagenumbering{arabic}

@@ -85,7 +85,7 @@
% ===============================================================
% syntactic suggar for horizaontal rule
\newcommand{\Hrule}{
\rule{\linewidth}{0.1mm}
\rule{\linewidth}{0.1mm}
}


@@ -96,49 +96,49 @@
% syntactic suggar for english text
% example \eng{A quick brown fox jumpedover the lazy dog}
\newcommand{\eng}[1]{
\foreignlanguage{english}{#1}
\foreignlanguage{english}{#1}
}

% \FirstPage
\newcommand{\FirstPage}{
\begin{titlepage}
% Logo
\begin{figure}
\begin{flushleft}
\includegraphics[width=5cm]{auth_logogr.png}
\end{flushleft}
\end{figure}
% Titles
\center % Center everything on the page
\textbf{} \\[3.5cm] % vertical space
\textsc{\Large \Department} \\[0.5cm] % Department
\textsc{\Large \ClassName} \\[1.5cm] % Class/Course name
\Hrule \\[0.4cm] % -------
{\huge \bfseries \DocTitle} \\[0.1cm] % Document/Assignement Title
\Hrule \\[3.5cm] % -------
% vertical space
% Authors
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Συντάκτης :} \\
\textsc{\AuthorName} \\
\textsc{AEM:\AuthorAEM} \\[1ex]
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}}
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Διδάσκον :} \\ % Instructor
\textsc{\InstructorName}\\[1ex]
\normalsize
\href{mailto:\InstructorMail}{\eng{\InstructorMail}}
\end{flushright}
\end{minipage} \\
\vfill
{\large \CurrentDate} \\ % date
\end{titlepage}
\newpage
\begin{titlepage}
% Logo
\begin{figure}
\begin{flushleft}
\includegraphics[width=5cm]{auth_logogr.png}
\end{flushleft}
\end{figure}
% Titles
\center % Center everything on the page
\textbf{} \\[3.5cm] % vertical space
\textsc{\Large \Department} \\[0.5cm] % Department
\textsc{\Large \ClassName} \\[1.5cm] % Class/Course name
\Hrule \\[0.4cm] % -------
{\huge \bfseries \DocTitle} \\[0.1cm] % Document/Assignement Title
\Hrule \\[3.5cm] % -------
% vertical space
% Authors
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Συντάκτης :} \\
\textsc{\AuthorName} \\
\textsc{AEM:\AuthorAEM} \\[1ex]
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}}
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Διδάσκον :} \\ % Instructor
\textsc{\InstructorName}\\[1ex]
\normalsize
\href{mailto:\InstructorMail}{\eng{\InstructorMail}}
\end{flushright}
\end{minipage} \\
\vfill
{\large \CurrentDate} \\ % date
\end{titlepage}
\newpage
}

% \FirstPageCoAuthor{}{}{}
@@ -147,47 +147,47 @@
% [3]: CoAuthor's email
% example: \FirstPage{someone}{1000}{someone@someone.com}
\newcommand{\FirstPageCoAuthor}[3]{
\begin{titlepage}
% Logo
\begin{figure}
\begin{flushleft}
\includegraphics[width=5cm]{auth_logogr.png}
\end{flushleft}
\end{figure}
% Titles
\center % Center everything on the page
\textbf{} \\[3.5cm] % vertical space
\textsc{\Large \Department} \\[0.5cm] % Department
\textsc{\Large \ClassName} \\[1.5cm] % Class/Course name
\Hrule \\[0.4cm] % -------
{\huge \bfseries \DocTitle} \\[0.1cm] % Document/Assignement Title
\Hrule \\[3.5cm] % -------
% vertical space
% Authors
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Συντάκτες :} \\
\textsc{\AuthorName} \\
\textsc{AEM:\AuthorAEM} \\[1ex]
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex]
\textsc{#1} \\
\textsc{AEM:#2} \\[1ex]
\normalsize \href{mailto:#3}{\eng{#3}}
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Διδάσκον :} \\ % Instructor
\textsc{\InstructorName}\\[1ex]
\normalsize
\href{mailto:\InstructorMail}{\eng{\InstructorMail}}
\end{flushright}
\end{minipage} \\
\vfill
{\large \CurrentDate} \\ % date
\begin{titlepage}
% Logo
\begin{figure}
\begin{flushleft}
\includegraphics[width=5cm]{auth_logogr.png}
\end{flushleft}
\end{figure}
% Titles
\center % Center everything on the page
\textbf{} \\[3.5cm] % vertical space
\textsc{\Large \Department} \\[0.5cm] % Department
\textsc{\Large \ClassName} \\[1.5cm] % Class/Course name
\Hrule \\[0.4cm] % -------
{\huge \bfseries \DocTitle} \\[0.1cm] % Document/Assignement Title
\Hrule \\[3.5cm] % -------
% vertical space
% Authors
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Συντάκτες :} \\
\textsc{\AuthorName} \\
\textsc{AEM:\AuthorAEM} \\[1ex]
\normalsize \href{mailto:\AuthorMail}{\eng{\AuthorMail}} \\[2ex]
\textsc{#1} \\
\textsc{AEM:#2} \\[1ex]
\normalsize \href{mailto:#3}{\eng{#3}}
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Διδάσκον :} \\ % Instructor
\textsc{\InstructorName}\\[1ex]
\normalsize
\href{mailto:\InstructorMail}{\eng{\InstructorMail}}
\end{flushright}
\end{minipage} \\
\vfill
{\large \CurrentDate} \\ % date
\end{titlepage}
\newpage
\end{titlepage}
\newpage
}

% \setFancyHead{}{}
@@ -195,8 +195,8 @@
% [2]: Odd page text
% example: \setFancyHead{Μαθημα}{Εργασία}
\newcommand{\setFancyHead}[2]{
\fancyhead[LE]{#1}
\fancyhead[RO]{#2}
\fancyhead[LE]{#1}
\fancyhead[RO]{#2}
}

% \InsertFigure{}{}{}{}
@@ -206,11 +206,11 @@
% [4]: Caption text
% example: \InsertFigure{0.8}{fig:lala}{lala.png}{\eng{Makes lala}}
\newcommand{\InsertFigure}[4]{
\begin{figure*}[ht]
\captionsetup{format=plain}
\centering
\includegraphics[width=#1\textwidth]{#3}
\caption{#4}
\label{#2}
\end{figure*}
\begin{figure*}[ht]
\captionsetup{format=plain}
\centering
\includegraphics[width=#1\textwidth]{#3}
\caption{#4}
\label{#2}
\end{figure*}
}

+ 7
- 7
report/session1.tex View File

@@ -39,7 +39,7 @@
\par Για να είναι ικανή η εξαγωγή συμπερασμάτων για την κατανομή του χρόνου απόκρισης, αλλά και της κατανομής πιθανότητας επανεκπομπών αποφασίσαμε να επεκτείνουμε τον χρόνο μετρήσεων στα 40 λεπτά.
Σε αυτή την απόφαση συνέβαλλε και το γεγονός ότι οι μετρήσεις έγιναν σε τοποθεσία με πάρα πολύ κακή γραμμή.
\par Για την ανάλυση των μετρήσεων και την παραγωγή των γραφημάτων χρησιμοποιήσαμε \eng{matlab}.
Τον κώδικα για την ανάλυση μπορείτε να τον βρείτε στον κατάλογο \eng{matlab} του παραδοτέου καθώς και στο αποθετήριο της εργασίας.
Τον κώδικα για την ανάλυση μπορείτε να τον βρείτε στον κατάλογο \eng{matlab} του παραδοτέου καθώς και στο \href{https://git.hoo2.net/hoo2/virtualModem}{αποθετήριο} της εργασίας.

\section{Υπολογισμός \eng{Bit Error Rate}}

@@ -48,22 +48,22 @@
Το \eng{Q} επίσης συνδέεται με τον μέσο αριθμό των προσπαθειών για την λήψη του κάθε πακέτου ($\eng{\overline{l}}$) σύμφωνα με τη σχέση $\eng{Q = 1 - \overline{l}^{-1}}$.
Έτσι τελικά έχουμε:
\begin{equation}
\eng{q = 1 - \sqrt[\uproot{6}L]{\frac{1}{\overline{l}}}}
\eng{q = 1 - \sqrt[\uproot{6}L]{\frac{1}{\overline{l}}}}
\end{equation}
Και έτσι με βάση το σχήμα \ref{fig:ARQ-dist-error}:
\[
\overline{l} =
\frac{1*8492+2*2162+3*579+4*172+5*48+6*11+7*6+9*1}{8492+2162+579+172+48+11+6+1} =
\frac{15598}{11471} = 1.35978
\overline{l} =
\frac{1*8492+2*2162+3*579+4*172+5*48+6*11+7*6+9*1}{8492+2162+579+172+48+11+6+1} =
\frac{15598}{11471} = 1.35978
\]
Επομένως, εφόσον το δικό μας $\eng{L} = 128 \eng{bits}$, έχουμε:
\[
q = 1 - \sqrt[\uproot{6}128]{\frac{1}{1.35978}} = 0.00239806 => q = 0.2398 \%
q = 1 - \sqrt[\uproot{6}128]{\frac{1}{1.35978}} = 0.00239806 => q = 0.2398 \%
\]

\par Τέλος με βάση τα πειραματικά αποτελέσματα της συνόδου (σχήμα \ref{fig:ARQ-dist-error}) η εκτιμώμενη συνάρτηση πιθανότητας του αριθμού των επανεκπομπών είναι εκθετική και ακολουθεί την εξίσωση:
\[
P(x) = 0.740089 e^{-1.36012x}
P(x) = 0.740089 e^{-1.36012x}
\]
Όπου \eng{x}, ο αριθμός των επανεκπομπών.



+ 7
- 7
report/session2.tex View File

@@ -39,7 +39,7 @@
\par Για να είναι ικανή η εξαγωγή συμπερασμάτων για την κατανομή του χρόνου απόκρισης, αλλά και της κατανομής πιθανότητας επανεκπομπών αποφασίσαμε να επεκτείνουμε τον χρόνο μετρήσεων στα 60 λεπτά.
Σε αυτή την απόφαση συνέβαλλε και το γεγονός ότι οι μετρήσεις έγιναν σε τοποθεσία με πάρα πολύ κακή γραμμή και εν μέσω τεχνικών προβλημάτων.
\par Για την ανάλυση των μετρήσεων και την παραγωγή των γραφημάτων χρησιμοποιήσαμε \eng{matlab}.
Τον κώδικα για την ανάλυση μπορείτε να τον βρείτε στον κατάλογο \eng{matlab} του παραδοτέου καθώς και στο αποθετήριο της εργασίας.
Τον κώδικα για την ανάλυση μπορείτε να τον βρείτε στον κατάλογο \eng{matlab} του παραδοτέου καθώς και στο \href{https://git.hoo2.net/hoo2/virtualModem}{αποθετήριο} της εργασίας.

\section{Υπολογισμός \eng{Bit Error Rate}}

@@ -48,22 +48,22 @@
Το \eng{Q} επίσης συνδέεται με τον μέσο αριθμό των προσπαθειών για την λήψη του κάθε πακέτου ($\eng{\overline{l}}$) σύμφωνα με τη σχέση $\eng{Q = 1 - \overline{l}^{-1}}$.
Έτσι τελικά έχουμε:
\begin{equation}
\eng{q = 1 - \sqrt[\uproot{6}L]{\frac{1}{\overline{l}}}}
\eng{q = 1 - \sqrt[\uproot{6}L]{\frac{1}{\overline{l}}}}
\end{equation}
Και έτσι με βάση το σχήμα \ref{fig:ARQ-dist-error}:
\[
\overline{l} =
\frac{1*18368+2*2741+3*377+4*71+5*9+6*6+7*1}{18368+2741+377+71+9+6+1} =
\frac{25353}{21573} = 1.17522
\overline{l} =
\frac{1*18368+2*2741+3*377+4*71+5*9+6*6+7*1}{18368+2741+377+71+9+6+1} =
\frac{25353}{21573} = 1.17522
\]
Επομένως, εφόσον το δικό μας $\eng{L} = 128 \eng{bits}$, έχουμε:
\[
q = 1 - \sqrt[\uproot{6}128]{\frac{1}{1.17522}} = 0.00126057 => q = 0.126 \%
q = 1 - \sqrt[\uproot{6}128]{\frac{1}{1.17522}} = 0.00126057 => q = 0.126 \%
\]

\par Τέλος με βάση τα πειραματικά αποτελέσματα της συνόδου (σχήμα \ref{fig:ARQ-dist-error}) η εκτιμώμενη συνάρτηση πιθανότητας του αριθμού των επανεκπομπών είναι εκθετική και ακολουθεί την εξίσωση:
\[
P(x) = 0.851462 e^{-1.90528x}
P(x) = 0.851462 e^{-1.90528x}
\]
Όπου \eng{x}, ο αριθμός των επανεκπομπών.



Loading…
Cancel
Save