set terminal table; set output "acs10-jpeg.pgf-plot.table"; set format "%.5f" set samples 8; plot [x=0:7] (1 * (2> 0) + (1 / sqrt(8 / 2)) * (2== 0)) * cos((((2 * x + 1) * 2* pi) / (2 * 8)))