Riemann Zeta function

How can I calculate the Riemann zeta function using Matlab, for any ingeter n>1? I am new to Matlab, and I am having trouble defining the function.
Thank you!

回答 (1 件)

the cyclist
the cyclist 2012 年 1 月 16 日

0 投票

If you have the Symbolic Math Toolbox, you can simply type
zeta_n = zeta(n)
If you do not, then this entry in the File Exchange has a function to calculate it: http://www.mathworks.com/matlabcentral/fileexchange/978-special-functions-math-library

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

タグ

質問済み:

Ana
2012 年 1 月 16 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by