1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
7
<DATE>March 2001</DATE>
8
<SHORT_DESCRIPTION name="harmean"> harmonic mean</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>hm=harmean(x) </CALLING_SEQUENCE_ITEM>
11
<CALLING_SEQUENCE_ITEM>hm=harmean(x,'r')(or, equivalently, hm=harmean(x,1)) </CALLING_SEQUENCE_ITEM>
12
<CALLING_SEQUENCE_ITEM>hm=harmean(x,'c')(or, equivalently, hm=harmean(x,2)) </CALLING_SEQUENCE_ITEM>
17
<PARAM_NAME>x</PARAM_NAME>
19
<SP>: real or complex vector or matrix</SP>
26
This function computes the harmonic mean of a vector or
27
matrix <VERB> x</VERB>. For a vector or matrix <VERB> x</VERB>, <VERB>
28
hm=harmean(x) </VERB> returns in scalar <VERB> hm</VERB> the
29
harmonic mean of all the entries of <VERB> x</VERB>.</P>
30
<P><VERB> hm=harmean(x,'r') </VERB> (or, equivalently, <VERB>
31
hm=harmean(x,1) </VERB> ) returns in each entry of the row
32
vector <VERB> hm</VERB> the harmonic mean of each column of <VERB>
34
<P><VERB> hm=harmean(x,'c') </VERB> (or, equivalently, <VERB>
35
hm=harmean(x,2) </VERB> ) returns in each entry of the column
36
vector <VERB> hm</VERB> the harmonic mean of each row of <VERB> x
39
<AUTHOR> Carlos Klimann</AUTHOR>
42
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.</P>