aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/figures/tikz/psk-constellation.tex
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-10-31 00:20:51 +0200
committerNao Pross <np@0hm.ch>2021-10-31 00:29:54 +0200
commitadc00a39baff866a3b68b52ffc55a4aae71e61c4 (patch)
treee4898c12f2199cba12507f7ed6a611c0f1093ddf /doc/thesis/figures/tikz/psk-constellation.tex
parentDoku Implementation Teil angefangen. (diff)
downloadFading-adc00a39baff866a3b68b52ffc55a4aae71e61c4.tar.gz
Fading-adc00a39baff866a3b68b52ffc55a4aae71e61c4.zip
Fix math error in QAM, improve QAM modulator diagram, rename (wrong) QPSK to PSK
Diffstat (limited to 'doc/thesis/figures/tikz/psk-constellation.tex')
-rw-r--r--doc/thesis/figures/tikz/psk-constellation.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/thesis/figures/tikz/psk-constellation.tex b/doc/thesis/figures/tikz/psk-constellation.tex
new file mode 100644
index 0000000..d927b19
--- /dev/null
+++ b/doc/thesis/figures/tikz/psk-constellation.tex
@@ -0,0 +1,23 @@
+% 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\)};
+
+ \draw[lightgray, densely dotted, thick] (0,0) circle (15mm);
+ \foreach \a in {0,1,...,8}{
+ \node[star] (s\a) at ({360/8*(.5 + \a)}:15mm) {};
+ }
+
+ \foreach \i/\l in {0/000,1/001,2/011,3/010,4/110,5/111,6/101,7/100}{
+ \node[lightgray] at ($(s\i) + ({360/8*(.5 + \i)}:5mm)$) {\texttt{\l}};
+ }
+\end{tikzpicture}