Riemann Zeta function
Afficher commentaires plus anciens
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!
Réponses (1)
the cyclist
le 16 Jan 2012
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
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!