aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/reedsolomon/images
diff options
context:
space:
mode:
authorJODBaer <JODBaer@github.com>2021-07-21 15:17:21 +0200
committerJODBaer <JODBaer@github.com>2021-07-21 15:17:21 +0200
commitc8ac17e1f78eca79d8a2a62d0567f5ee02f4575c (patch)
tree326f1d887815555b191e9e1765ce1b0c5f94d5c8 /buch/papers/reedsolomon/images
parentminor changes (diff)
downloadSeminarMatrizen-c8ac17e1f78eca79d8a2a62d0567f5ee02f4575c.tar.gz
SeminarMatrizen-c8ac17e1f78eca79d8a2a62d0567f5ee02f4575c.zip
update
Diffstat (limited to 'buch/papers/reedsolomon/images')
-rw-r--r--buch/papers/reedsolomon/images/plotfft.tex77
-rw-r--r--buch/papers/reedsolomon/images/polynom2.tex88
2 files changed, 120 insertions, 45 deletions
diff --git a/buch/papers/reedsolomon/images/plotfft.tex b/buch/papers/reedsolomon/images/plotfft.tex
new file mode 100644
index 0000000..e6d3b47
--- /dev/null
+++ b/buch/papers/reedsolomon/images/plotfft.tex
@@ -0,0 +1,77 @@
+%
+% Plot der èbertrangungsabfolge ins FFT und zurück mit IFFT
+%
+\tikzset{
+ node/.style={rectangle, draw=black!100, thick, on grid}, % on grid added
+ dangling node/.style={node, fill=black!30}
+}
+\begin{tikzpicture}[]
+
+%---------------------------------------------------------------
+ %Knote
+\matrix[draw = none, column sep=20mm, row sep=20mm]{
+ \node(signal) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Signal}}]
+ \addplot[] table[col sep=comma] {signal.txt};
+ \end{axis}
+ \end{tikzpicture}}; &
+
+ \node(codiert) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Codiert}}]
+ \addplot[] table[col sep=comma] {codiert.txt};
+ \end{axis}
+ \end{tikzpicture}}; \\
+
+ &\node(fehler) [] {
+ \begin{tikzpicture}
+ \begin{axis}[scale=0.6, title = {\Large {Fehler}}]
+ \addplot[] table[col sep=comma] {fehler.txt};
+ \end{axis}
+ \end{tikzpicture}};\\
+
+ \node(decodiert) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Decodiert}}]
+ \addplot[] table[col sep=comma] {decodiert.txt};
+ \end{axis}
+ \end{tikzpicture}}; &
+
+ \node(empfangen) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Empfangen}}]
+ \addplot[] table[col sep=comma] {empfangen.txt};
+ \end{axis}
+ \end{tikzpicture}};\\
+
+ \node(syndrom) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Syndrom}}]
+ \addplot[] table[col sep=comma] {syndrom.txt};
+ \end{axis}
+ \end{tikzpicture}}; &
+
+ \node(locator) [] {
+ \begin{tikzpicture}
+ \begin{axis}[title = {\Large {Locator}}]
+ \addplot[] table[col sep=comma] {locator.txt};
+ \end{axis}
+ \end{tikzpicture}};\\
+};
+%-------------------------------------------------------------
+ %FFT & IFFT deskription
+
+ \draw[thin,gray,dashed] (0,15) to (0,-15);
+ \node(FFT) [ scale=0.7] at (0,15.3) {FFT IFFT};
+
+ %Arrows
+ \draw[ultra thick, ->] (signal.east) to (codiert.west);
+ \draw[ultra thick, ->] (codiert.south) to (fehler.north);
+ \draw[ultra thick, ->] (fehler.south) to (empfangen.north);
+ \draw[ultra thick, ->] (empfangen.west) to (decodiert.east);
+ \draw[ultra thick, ->] (syndrom.east) to (locator.west);
+ \draw(decodiert.south east)++(-1.8,1) ellipse (1.3cm and 0.8cm) ++(-1.3,0) coordinate(zoom) ;
+ \draw[ultra thick, ->] (zoom) to[out=180, in=90] (syndrom.north);
+
+ \end{tikzpicture} \ No newline at end of file
diff --git a/buch/papers/reedsolomon/images/polynom2.tex b/buch/papers/reedsolomon/images/polynom2.tex
index 4fdfc81..288b51c 100644
--- a/buch/papers/reedsolomon/images/polynom2.tex
+++ b/buch/papers/reedsolomon/images/polynom2.tex
@@ -1,51 +1,49 @@
-% polynome2
+% polynome
%-------------------
-%\documentclass[tikz]{standalone}
-%\usepackage{amsmath}
-%\usepackage{times}
-%\usepackage{txfonts}
-%\usepackage{pgfplots}
-%\usepackage{csvsimple}
-%\usetikzlibrary{arrows,intersections,math}
+% Teiler für das Skalieren der Grafik /40
\newcommand{\teiler}{40}
-%\begin{document}
- Übertragen von den Zahlen
- \textcolor{blue}{2}, \textcolor{blue}{1}, \textcolor{blue}{5}
- als $ p(x) = \textcolor{blue}{2}x^2 + \textcolor{blue}{1}x + \textcolor{blue}{5} $.\newline
- Versende $ (p(1),p(2),...,p(7)) = (\textcolor{green}{8},
- \textcolor{green}{15}, \textcolor{green}{26},
- \textcolor{green}{ 41}, \textcolor{green}{60},
- \textcolor{green}{83}, \textcolor{green}{110})$
+
+
+%//////////////////////////////////////
+
+\begin{tikzpicture}[>=latex,thick]
+ \draw[color=blue, line width=1.4pt]
+ plot[domain=0:8, samples=100]
+ ({\x},{(2*\x^2+1*\x+5)/\teiler});
+
+ \draw[->] (-0.2,0) -- (8,0) coordinate[label={$x$}];
+ \draw[->] (0,-0.2) -- (0,150/\teiler) coordinate[label={right:$p(x)$}];
+
+ \def\punkt#1{
+ \fill[color=green] #1 circle[radius=0.08];
+ \draw #1 circle[radius=0.07];
+ }
+
+ \def\hellpunkt#1{
+ \fill[color=lightgray] #1 circle[radius=0.08];
+ \draw #1 circle[radius=0.07];
+ }
+
+ \punkt{(1,8/\teiler)}
+ \hellpunkt{(2,15/\teiler)}
+ \hellpunkt{(3,26/\teiler)}
+ \punkt{(4,41/\teiler)}
+ \punkt{(5,60/\teiler)}
+ \punkt{(6,83/\teiler)}
+ \punkt{(7,110/\teiler)}
+ \draw[color=gray,line width=1pt,dashed]
+ plot[domain=0.5:7, samples=100]
+ ({\x},{(7.832*\x^2-51.5*\x+121.668)/\teiler});
- \begin{tikzpicture}[>=latex,thick]
- \draw[color=blue, line width=1.4pt]
- plot[domain=0:8, samples=100]
- ({\x},{(2*\x^2+1*\x+5)/\teiler});
- \draw[->] (-0.2,0) -- (8,0) coordinate[label={$x$}];
- \draw[->] (0,-0.2) -- (0,150/\teiler) coordinate[label={right:$p(x)$}];
- \def\punkt#1{
- \fill[color=green] #1 circle[radius=0.08];
- \draw #1 circle[radius=0.07];
- }
- \punkt{(1,8/\teiler)}
- %\punkt{(2,15/\teiler)}
- %\punkt{(3,26/\teiler)}
- \punkt{(4,41/\teiler)}
- \punkt{(5,60/\teiler)}
- \punkt{(6,83/\teiler)}
- \punkt{(7,110/\teiler)}
- \draw[color=gray,line width=1pt,dashed]
- plot[domain=0.5:7, samples=100]
- ({\x},{(0.1958*\x^2-1.2875*\x+3.0417)});
- \def\erpunkt#1{
- \fill[color=red] #1 circle[radius=0.08];
- \draw #1 circle[radius=0.07];
- }
- \erpunkt{(2,50/\teiler)}
- \erpunkt{(3,0.9414)}
+ \def\erpunkt#1{
+ \fill[color=red] #1 circle[radius=0.08];
+ \draw #1 circle[radius=0.07];
+ }
+ \erpunkt{(2,50/\teiler)}
+ \erpunkt{(3,37.66/\teiler)}
- \draw(0,100/\teiler) -- (-0.1,100/\teiler) coordinate[label={left:$100$}];
- \draw(1,0) -- (1,-0.1) coordinate[label={below:$1$}];
- \end{tikzpicture}
+ \draw(0,100/\teiler) -- (-0.1,100/\teiler) coordinate[label={left:$100$}];
+ \draw(1,0) -- (1,-0.1) coordinate[label={below:$1$}];
+\end{tikzpicture}
%\end{document}