%% Differentiate Hurwitz Zeta Function
% Find the first derivative of the Hurwitz zeta function with respect to the variable s.

syms s a
Z = hurwitzZeta(1,s,a)

% Evaluate the first derivative at s = 0 and a = 1 by using the subs function.

symZ = subs(Z,[s a],[0 1])

% Use the diff function to find the first derivative of the Hurwitz zeta function with respect to a.

Z = diff(hurwitzZeta(s,a),a)

%
% Copyright 2018 The MathWorks, Inc.