[data] = ahamming(n, mid) function generates a general asymmetric Hamming-type window array. If mid = (n+1)/2 then the usual symmetric Hamming window is returned n = length of array mid = midpoint (maximum) of window function data = window array (nx1) Author: Peter Burns, 1 Oct. 2008 Copyright (c) 2007 Peter D. Burns