diff options
author | Nao Pross <np@0hm.ch> | 2021-10-13 14:41:37 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-10-13 14:41:37 +0200 |
commit | 37d31c172a33f9f49eafd7fc0f2ae495870b5f8c (patch) | |
tree | 52c548daa28fcd40a5cf9621227841a6649abb5c /doc/thesis/figures/tikz | |
parent | Introduction (diff) | |
parent | Fix workflow (diff) | |
download | Fading-37d31c172a33f9f49eafd7fc0f2ae495870b5f8c.tar.gz Fading-37d31c172a33f9f49eafd7fc0f2ae495870b5f8c.zip |
Merge branch 'master' of github.com:NaoPross/Fading
Diffstat (limited to '')
-rw-r--r-- | doc/thesis/figures/tikz/overview.tex | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/thesis/figures/tikz/overview.tex b/doc/thesis/figures/tikz/overview.tex new file mode 100644 index 0000000..e387a12 --- /dev/null +++ b/doc/thesis/figures/tikz/overview.tex @@ -0,0 +1,57 @@ +% vim: set ts=2 sw=2 noet spell: + +\begin{tikzpicture}[ + % show background rectangle, + box/.style = { + font = \small\sffamily\bfseries, + draw, thick, fill = white, + minimum height = 10mm, + minimum width = 25mm, + }, + ] + \matrix[ + nodes = {box}, column sep = 10mm, row sep = 10mm, + ]{ + \node (SRC) {Source}; & + \node (ENC) {Encoder}; & + \node (MOD) {Modulator}; \\ + && \node (CHN) {Channel}; \\ + \node (SNK) {Sink}; & + \node (DEC) {Decoder}; & + \node (DMD) {Demodulator}; \\ + }; + \draw[very thick, -latex] + (SRC) edge node[midway, above] {\(m\)} (ENC) + (ENC) edge node[midway, above] {\(m_e\)} (MOD) + (MOD) edge node[midway, right] {\(x\)} (CHN) + (CHN) edge node[midway, right] {\(y\)} (DMD) + (DMD) edge node[midway, above] {\(m_e'\)} (DEC) + (DEC) edge node[midway, above] {\(m'\)} (SNK) + ; + + \draw[very thick, -latex] + ($(MOD.east)+(5mm,0)$) node[right] (CARR) {Carrier \(x_c\)} to (MOD); + + \draw[very thick, -latex] + ($(CHN.east)+(5mm,0)$) node[right] (NOISE) {Noise \(n\)} to (CHN); + + \draw[very thick, -latex] + ($(CHN.west)-(5mm,0)$) node[left] (FADE) {Fading} to (CHN); + + \draw[very thick, -latex] + ($(DMD.east)+(5mm,0)$) node[right] (SYNC) {Sync} to (DMD); + + \begin{pgfonlayer}{background} + \fill[lightgray!20] ($(SRC.north west)+(-5mm,5mm)$) node (TX) {} + rectangle ($(MOD.south -| CARR.east)+(5mm,-5mm)$); + + \fill[lightgray!20] ($(SNK.north west)+(-5mm,5mm)$) node (RX) {} + rectangle ($(DMD.south -| CARR.east)+(5mm,-5mm)$); + + \node[gray, font = \sffamily\bfseries, anchor = south west] + at (TX.north) {Transmitter}; + + \node[gray, font = \sffamily\bfseries, anchor = south west] + at (RX.north) {Receiver}; + \end{pgfonlayer} +\end{tikzpicture} |