aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/zeta/images/zetaplot.m
diff options
context:
space:
mode:
authorf1bi1n <109807532+f1bi1n@users.noreply.github.com>2022-08-15 20:21:26 +0200
committerGitHub <noreply@github.com>2022-08-15 20:21:26 +0200
commit13e80fa4f6ca5fb0551e2e3adca931d32091cab1 (patch)
tree2793c654e5d5f4556a32c7dfea915fd37c74f59b /buch/papers/zeta/images/zetaplot.m
parent2.Uerbarbeitung, bruch (diff)
parentMerge pull request #50 from ntobler/master (diff)
downloadSeminarSpezielleFunktionen-13e80fa4f6ca5fb0551e2e3adca931d32091cab1.tar.gz
SeminarSpezielleFunktionen-13e80fa4f6ca5fb0551e2e3adca931d32091cab1.zip
Merge branch 'master' into master
Diffstat (limited to 'buch/papers/zeta/images/zetaplot.m')
-rw-r--r--buch/papers/zeta/images/zetaplot.m23
1 files changed, 23 insertions, 0 deletions
diff --git a/buch/papers/zeta/images/zetaplot.m b/buch/papers/zeta/images/zetaplot.m
new file mode 100644
index 0000000..984b645
--- /dev/null
+++ b/buch/papers/zeta/images/zetaplot.m
@@ -0,0 +1,23 @@
+%
+% zetaplot.m
+%
+% (c) 2022 Prof Dr Andreas Müller
+%
+s = 1;
+h = 0.02;
+m = 40;
+
+fn = fopen("zetapath.tex", "w");
+fprintf(fn, "\\def\\zetapath{\n");
+counter = 0;
+for y = (0:h:m)
+ if (counter > 0)
+ fprintf(fn, "\n\t--");
+ end
+ z = zeta(0.5 + i*y);
+ fprintf(fn, " ({%.4f*\\dx},{%.4f*\\dy})", real(z), imag(z));
+ counter = counter + 1;
+end
+fprintf(fn, "\n}\n");
+fclose(fn);
+