Fix: sampling period equals T