I have this text file:
$ cat resultados.txt
10.8
12.1
14.2
14.8
19.4
8.62
9.73
Important: numbers are in rows, not in columns.
I want to perform the geometrical operation:
e((l(number1)+l(number2)+l(numbern))/n)
How can I do that?
I have this text file:
$ cat resultados.txt
10.8
12.1
14.2
14.8
19.4
8.62
9.73
Important: numbers are in rows, not in columns.
I want to perform the geometrical operation:
e((l(number1)+l(number2)+l(numbern))/n)
How can I do that?
here is another alternative for geometric mean
or, with NR