function pval = tack ( x )
n = length ( x );
pval = ( [1:n] == floor(n/2) );
