summaryrefslogtreecommitdiff
path: root/hamming.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hamming.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/hamming.sh b/hamming.sh
index b466325..9347388 100644
--- a/hamming.sh
+++ b/hamming.sh
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/usr/bin/env bash
### hamming.sh
# Convolve input vector with 3-element Hamming window [0.23, 0.54, 0.23]
# note: bash built-in $(( )) construct only supports integer arithmetic
-# floating point operations will require another language such as awk, perl,
-# python, etc.
+# floating point operations will require a calculator or another language
+# such as awk, perl, python, etc.
### input vector as array
X=($1)