gusucode.com > symbolic工具箱matlab源码程序 > symbolic/@sym/harmonic.m
function Y = harmonic(X) % HARMONIC Harmonic function. % Y = HARMONIC(X) is the harmonic function of X. % It is defined as % HARMONIC(x) = psi(x+1) + eulergamma. % See also PSI. % Copyright 2013 The MathWorks, Inc. Y = privUnaryOp(X, 'symobj::vectorizeSpecfunc', 'harmonic', 'infinity'); end