import numpy as np def ramp(N): y = np.zeros(N, dtype=int) for t in range(0, N): y[t] = t return y