zeta - Riemann Zeta

Syntax

Y = zeta(X)
Y = zeta(n, X)

Description

Y = zeta(X) evaluates the Zeta function at the elements of X, a numeric matrix, or a symbolic matrix. The Zeta function is defined by

Y = zeta(n, X) returns the n-th derivative of zeta(X).

Examples

zeta(1.5) returns 2.6124.

zeta(1.2:0.1:2.1) returns

Columns 1 through 7 
 
    5.5916    3.9319    3.1055    2.6124    2.2858    2.0543    1.8822
 
Columns 8 through 10 
 
    1.7497    1.6449    1.5602

zeta([x 2;4 x+y]) returns

[   zeta(x),  1/6*pi^2]
[ 1/90*pi^4, zeta(x+y)]

diff(zeta(x),x,3) returns zeta(3,x).

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS