@mntmn
z=1 would be the sampling frequency, z=0.1 is sampling frequency / 10.
Saying "cutoff at 1kHz" doesn't help, because we don't know what the sampling rate is. If that is, say, 100kSamples/second, you'd want the cutoff at z = 1k/100k = 0.01.
But again, I haven't done discrete filters since college, and over breakfast I might not be of much help 😬