summaryrefslogtreecommitdiff
path: root/mean.awk
diff options
context:
space:
mode:
authorwukong <wukong@longaeva>2018-09-09 23:48:31 -0700
committerwukong <wukong@longaeva>2018-09-09 23:48:31 -0700
commitd1f6c89be163d9399d569e01458242d8ce15e041 (patch)
treea263822af5cb1532f9eb1abe7b7ae6334c27d170 /mean.awk
parente42cee748f5bc38d11742739b5e2cad4b6a07c43 (diff)
added summations to quad_reg
added in-progress lpf.awk (low pass filter), an adaptation of convolution script (conv.awk) to use delmitied columns as input additional tweaking of OFMT, OFS, and conditional print statements
Diffstat (limited to 'mean.awk')
-rw-r--r--mean.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mean.awk b/mean.awk
index aa5ec8e..b509473 100644
--- a/mean.awk
+++ b/mean.awk
@@ -4,6 +4,7 @@
# calculate mean average
BEGIN {
+ OFS = FS
sign = "[+-±]?"
decimal = "[0-9]+[.]?[0-9]*"
fraction = "[.][0-9]*"