We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
HarmonicMean[data]
gives the harmonic mean of the values in data.
DetailsHarmonic mean of symbolic values:
Harmonic mean of columns of a matrix:
Scope (12) Basic Uses (6)Exact input yields exact output:
Approximate input yields approximate output:
Find the harmonic mean of WeightedData:
Find the harmonic mean of EventData:
Find the harmonic mean of a TimeSeries:
The harmonic mean depends only on the values:
Compute a weighted harmonic mean:
Find the harmonic mean of data involving quantities:
Image and Audio Data (2)Channelwise harmonic mean value of an RGB image:
Harmonic mean intensity value of a grayscale image:
On audio objects, HarmonicMean works channelwise:
Applications (1)Find the harmonic mean for the heights of children in a class:
Properties & Relations (6) Possible Issues (1)HarmonicMean will return 0 when the audio channels have a 0 in them; this is common for real-world audio samples:
Mean will clip channel values to values that can be represented with machine numbers:
Wolfram Research (2007), HarmonicMean, Wolfram Language function, https://reference.wolfram.com/language/ref/HarmonicMean.html (updated 2023). TextWolfram Research (2007), HarmonicMean, Wolfram Language function, https://reference.wolfram.com/language/ref/HarmonicMean.html (updated 2023).
CMSWolfram Language. 2007. "HarmonicMean." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/HarmonicMean.html.
APAWolfram Language. (2007). HarmonicMean. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HarmonicMean.html
BibTeX@misc{reference.wolfram_2025_harmonicmean, author="Wolfram Research", title="{HarmonicMean}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/HarmonicMean.html}", note=[Accessed: 11-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_harmonicmean, organization={Wolfram Research}, title={HarmonicMean}, year={2023}, url={https://reference.wolfram.com/language/ref/HarmonicMean.html}, note=[Accessed: 11-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4