diff options
author | LordMcFungus <mceagle117@gmail.com> | 2022-08-18 20:36:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 20:36:44 +0200 |
commit | 2ce7daa9275e6e43c7ec965b502a34a1b283541e (patch) | |
tree | c57fffd47e840de898e332a8c85b69a025bf058b /buch/papers/zeta/images/zetaplot.m | |
parent | Added graphic (diff) | |
parent | new images (diff) | |
download | SeminarSpezielleFunktionen-2ce7daa9275e6e43c7ec965b502a34a1b283541e.tar.gz SeminarSpezielleFunktionen-2ce7daa9275e6e43c7ec965b502a34a1b283541e.zip |
Merge pull request #4 from AndreasFMueller/master
update
Diffstat (limited to '')
-rw-r--r-- | buch/papers/zeta/images/zetaplot.m | 23 |
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); + |