Discrete-Time Rectangular and Triangular Pulses