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 Exchange에서 Mathematics에 대해 자세히 알아보기

태그

질문:

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