aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/reedsolomon/tikz/plotfft.tex
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-07-31 17:30:44 +0200
committerNao Pross <np@0hm.ch>2021-07-31 17:30:44 +0200
commitd7723ea05fe173c5203961dbc74aadf548338fb0 (patch)
tree12247fbfe674bc7b0f364c19b265ce8bb1059bb3 /buch/papers/reedsolomon/tikz/plotfft.tex
parentFix commas and details in references.bib (diff)
parentMerge pull request #58 from Kuehnee/master (diff)
downloadSeminarMatrizen-d7723ea05fe173c5203961dbc74aadf548338fb0.tar.gz
SeminarMatrizen-d7723ea05fe173c5203961dbc74aadf548338fb0.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to '')
-rw-r--r--buch/papers/reedsolomon/tikz/plotfft.tex94
1 files changed, 94 insertions, 0 deletions
diff --git a/buch/papers/reedsolomon/tikz/plotfft.tex b/buch/papers/reedsolomon/tikz/plotfft.tex
new file mode 100644
index 0000000..bb74dfb
--- /dev/null
+++ b/buch/papers/reedsolomon/tikz/plotfft.tex
@@ -0,0 +1,94 @@
+%
+% Plot der Übertrangungsabfolge ins FFT und zurück mit IFFT
+%
+\documentclass[tikz]{standalone}
+\usepackage{amsmath}
+\usepackage{times}
+\usepackage{pgfplots}
+\usepackage{pgfplotstable}
+\usepackage{csvsimple}
+\usepackage{filecontents}
+
+
+\begin{document}
+\begin{tikzpicture}[]
+
+ %---------------------------------------------------------------
+ %Knote
+ \matrix(m) [draw = none, column sep=25mm, row sep=2mm]{
+
+ \node(signal) [] {
+ \begin{tikzpicture}
+ \begin{axis}
+ [title = {\Large {Signal}},
+ xtick={0,20,40,64,80,98}]
+ \addplot[blue] table[col sep=comma] {tikz/signal.txt};
+ \end{axis}
+ \end{tikzpicture}}; &
+
+ \node(codiert) [] {
+ \begin{tikzpicture}[]
+ \begin{axis}[ title = {\Large {Codiert \space + \space Fehler}},
+ xtick={0,40,60,100}, axis y line*=left]
+ \addplot[green] table[col sep=comma] {tikz/codiert.txt};
+ \end{axis}
+ \begin{axis}[xtick={7,21,75}, axis y line*=right]
+ \addplot[red] table[col sep=comma] {tikz/fehler.txt};
+ \end{axis}
+ \end{tikzpicture}}; \\
+
+ \node(decodiert) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Decodiert}}]
+ \addplot[blue] table[col sep=comma] {tikz/decodiert.txt};
+ \end{axis}
+ \end{tikzpicture}}; &
+
+ \node(empfangen) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Empfangen}}]
+ \addplot[green] table[col sep=comma] {tikz/empfangen.txt};
+ \end{axis}
+ \end{tikzpicture}};\\
+
+ \node(syndrom) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Syndrom}}]
+ \addplot[black] table[col sep=comma] {tikz/syndrom.txt};
+ \end{axis}
+ \end{tikzpicture}}; &
+
+ \node(locator) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Locator}}]
+ \addplot[gray] table[col sep=comma] {tikz/locator.txt};
+ \end{axis}
+ \end{tikzpicture}};\\
+ };
+ %-------------------------------------------------------------
+ %FFT & IFFT deskription
+
+ \draw[thin,gray,dashed] (0,9) to (0,-9);
+ \node(IFFT) [scale=0.9] at (0,9.3) {IFFT};
+ \draw[stealth-](IFFT.south west)--(IFFT.south east);
+ \node(FFT) [scale=0.9, above of=IFFT] {FFT};
+ \draw[-stealth](FFT.north west)--(FFT.north east);
+
+ \draw[thick, ->,] (codiert)++(-1,0) +(0.05,0.5) -- +(-0.1,-0.1) -- +(0.1,0.1) -- +(0,-0.5);
+ %Arrows
+ \draw[thick, ->] (signal.east) to (codiert.west);
+ \draw[thick, ->] (codiert.south) to (empfangen.north);
+ \draw[thick, ->] (empfangen.west) to (decodiert.east);
+ \draw[thick, ->] (syndrom.east) to (locator.west);
+ \draw[thick](decodiert.south east)++(-1.8,1) ellipse (1.3cm and 0.8cm) ++(-1.3,0) coordinate(zoom) ;
+ \draw[thick, ->] (zoom) to[out=180, in=90] (syndrom.north);
+
+ %item
+ \node[circle, draw, fill =lightgray] at (signal.north west) {1};
+ \node[circle, draw, fill =lightgray] at (codiert.north west) {2+3};
+ \node[circle, draw, fill =lightgray] at (empfangen.north west) {4};
+ \node[circle, draw, fill =lightgray] at (decodiert.north west) {5};
+ \node[circle, draw, fill =lightgray] at (syndrom.north west) {6};
+ \node[circle, draw, fill =lightgray] at (locator.north west) {7};
+\end{tikzpicture}
+\end{document} \ No newline at end of file