- Scilab Online Help
- Statistics
- cdfbet
- cdfbin
- cdfchi
- cdfchn
- cdff
- cdffnc
- cdfgam
- cdfnbn
- cdfnor
- cdfpoi
- cdft
- center
- wcenter
- cmoment
- correl
- covar
- ftest
- ftuneq
- geomean
- harmean
- iqr
- labostat
- mad
- mean
- meanf
- median
- moment
- msd
- mvvacov
- nancumsum
- nand2mean
- nanmax
- nanmean
- nanmeanf
- nanmedian
- nanmin
- nanstdev
- nansum
- nfreq
- pca
- perctl
- princomp
- quart
- regress
- sample
- samplef
- samwr
- show_pca
- st_deviation
- stdevf
- strange
- tabul
- thrownan
- trimmean
- variance
- variancef
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
harmean
harmonic mean
Calling Sequence
hm=harmean(x) hm=harmean(x,'r')(or, equivalently, hm=harmean(x,1)) hm=harmean(x,'c')(or, equivalently, hm=harmean(x,2))
Arguments
- x
real or complex vector or matrix
Description
This function computes the harmonic mean of a vector or
matrix x
. For a vector or matrix x
,
hm=harmean(x)
returns in scalar hm
the
harmonic mean of all the entries of x
.
hm=harmean(x,'r')
(or, equivalently,
hm=harmean(x,1)
) returns in each entry of the row
vector hm
the harmonic mean of each column of x
.
hm=harmean(x,'c')
(or, equivalently,
hm=harmean(x,2)
) returns in each entry of the column
vector hm
the harmonic mean of each row of x
.
Authors
Carlos Klimann
Bibliography
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.
<< geomean | Statistics | iqr >> |