| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Symbolic Math Toolbox |
| Contents | Index |
| Learn more about Symbolic Math Toolbox |
Y = zeta(X)
Y = zeta(n, X)
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).
Compute the Riemann zeta function for the number:
zeta(1.5)
The result is:
ans =
2.6124Compute the Riemann zeta function for the matrix:
zeta(1.2:0.1:2.1)
The result is:
ans = Columns 1 through 6 5.5916 3.9319 3.1055 2.6124 2.2858 2.0543 Columns 7 through 10 1.8822 1.7497 1.6449 1.5602
Compute the Riemann zeta function for the matrix of the symbolic expressions:
syms x y; zeta([x 2; 4 x + y])
The result is:
ans = [ zeta(x), pi^2/6] [ pi^4/90, zeta(x + y)]
Differentiate the Riemann zeta function:
diff(zeta(x), x, 3)
The result is:
ans = zeta(x, 3)
![]() | vpa (sym) | ztrans (sym) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |