harmonic.m

Harmonic(n) is an estimate of the nth harmonic number.

You are now following this Submission

harmonic(n) is an estimate of the nth harmonic number. Also works for arbitrary nonzero complex arguments z, though it may not be accurate if |z|
is too small (|z| should be greater than 1).

Cite As

David Terr (2026). harmonic.m (https://uk.mathworks.com/matlabcentral/fileexchange/5858-harmonic-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0