[ Home : Programs | libCVD | Hardware hacks | Publications | Teaching | TooN | Research ]

AWK

Awk Versions

There are several versions of awk. I tend to use GNU AWK and MAWK in my scripts. I have tried to avoid language-specific features in the programs in order to maintain portability.

Numeric Processing

I frequently encounter long lists of numbers which need some kind of numeric processing performed on them. Although AWK is not the fastest language around for performing this task, it is reasonably good and very easy to write. Most of these programs are pipeline based.

Polynomial Fitting

This fits an Nth order polynomial to the incoming data. It uses the standard Vandermonde technique and uses simple Gaussian elimination on the matrix to find the coefficients. In practice, this has never caused me enough problems for me to use a more reliable inversion technique.


Updated July 14th 2011, 10:52