summaryrefslogtreecommitdiff
path: root/master.tex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--master.tex25
1 files changed, 23 insertions, 2 deletions
diff --git a/master.tex b/master.tex
index a175da0..4fc53ff 100644
--- a/master.tex
+++ b/master.tex
@@ -388,11 +388,16 @@ and thus,
\phantomsection
\addcontentsline{toc}{section}{Appendix}
-\addcontentsline{toc}{subsection}{MATLAB Code}
-\section*{Appendix A. MATLAB Code}
+\addcontentsline{toc}{subsection}{Code Listings}
+\section*{Appendix A. Code Listings}
\lstinputlisting[
style=Matlab-editor,
+ basicstyle=\ttfamily,
+ numberstyle=\ttfamily\small\color{gray},
+ keywordstyle=\color{blue},
+ commentstyle=\color{gray},
+ stringstyle=\color{red},
caption={Frequency spectrum analysis code.},
captionpos=b
]{matlab/specan.m}
@@ -401,10 +406,26 @@ and thus,
\lstinputlisting[
style=Matlab-editor,
+ basicstyle=\ttfamily,
+ numberstyle=\ttfamily\small\color{gray},
+ keywordstyle=\color{blue},
+ commentstyle=\color{gray},
+ stringstyle=\color{red},
caption={Phasor plot code.},
captionpos=b
]{matlab/phasor.m}
+\lstinputlisting[
+ language=bash,
+ basicstyle=\ttfamily,
+ numberstyle=\ttfamily\small\color{gray},
+ keywordstyle=\color{blue},
+ commentstyle=\color{gray},
+ stringstyle=\color{red},
+ caption={Shell script for preparing data.},
+ captionpos=b
+]{matlab/prep.sh}
+
\newpage
\phantomsection