diff options
author | haddoucher <reda.haddouche@ost.ch> | 2022-08-16 14:36:07 +0200 |
---|---|---|
committer | haddoucher <reda.haddouche@ost.ch> | 2022-08-16 14:36:07 +0200 |
commit | f031b148a79d1dafb0e3405643be05e7a7eb1222 (patch) | |
tree | 3f0c7d27ba90e10874a885cae9026fdbaa0b01e6 /buch/papers/zeta/images/zetaplot.m | |
parent | Update tschebyscheff_beispiel.tex (diff) | |
parent | Merge pull request #5 from haddoucher/sturmliouville/erik-branch (diff) | |
download | SeminarSpezielleFunktionen-f031b148a79d1dafb0e3405643be05e7a7eb1222.tar.gz SeminarSpezielleFunktionen-f031b148a79d1dafb0e3405643be05e7a7eb1222.zip |
Merge remote-tracking branch 'origin/master' into sturmliouville/redabranch
Diffstat (limited to 'buch/papers/zeta/images/zetaplot.m')
-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); + |