From d042357d4abba1b2c6a6e1e66a7d764b3fe5c9f2 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 28 Oct 2021 00:33:05 +0200 Subject: Typos and add constellation diagrams --- doc/thesis/figures/tikz/qam-constellation.tex | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/thesis/figures/tikz/qam-constellation.tex (limited to 'doc/thesis/figures/tikz/qam-constellation.tex') diff --git a/doc/thesis/figures/tikz/qam-constellation.tex b/doc/thesis/figures/tikz/qam-constellation.tex new file mode 100644 index 0000000..e9a7778 --- /dev/null +++ b/doc/thesis/figures/tikz/qam-constellation.tex @@ -0,0 +1,25 @@ +% vim: set ts=2 sw=2 noet: +\begin{tikzpicture}[ + axis/.style = { + thick, -latex, black, + }, + star/.style = { + draw = black, thick, fill = red!50, + circle, outer sep = 1mm, inner sep = 0, + minimum size = 1.5mm, + }, + ] + \draw[axis] (-25mm,0) to (25mm,0) node[right] {\(\phi_i\)}; + \draw[axis] (0,-25mm) to (0,25mm) node[above] {\(\phi_q\)}; + + \foreach \i in {0,1,...,3}{ + \foreach \q in {0,1,...,3}{ + \node[star] (s\i\q) at ({\i*10mm - 15mm},{\q*10mm - 15mm}) {}; + } + } + + \foreach \i/\l in {0/00,1/01,2/11,3/10}{ + \node[lightgray, below = 3mm] at (s\i0) {\texttt{\l}}; + \node[lightgray, left = 2mm] at (s0\i) {\texttt{\l}}; + } +\end{tikzpicture} -- cgit v1.2.1