Discrete-Time Signal Transformation Explorer
Reshape a discrete-time sequence with x[an + b]: shift, downsample, upsample, and fold it step by step, and see which samples survive, which are discarded, and where zeros appear.
This interactive discrete-time signal transformation visualization shows how the operation x[an + b] reshapes a sequence, built up one plain-language step at a time so you can see exactly what happens to every sample. Pick a sequence (a custom finite signal, the unit impulse, the unit step, a decaying exponential, a discrete sinusoid, or a rectangular pulse), set an integer shift, choose to downsample or upsample by a whole-number factor, or fold the sequence, then step through the animation or let it play.
Discrete time is not just continuous time on a grid, and the animation makes the differences concrete. Shifts and scales must be whole numbers, because a sequence is only defined on the integers. The lesson follows the order that keeps x[an + b] well defined: shift first, then resample, then reverse. A shift x[n + b] slides every sample by b positions, with a positive b moving the sequence to the left. Downsampling x[Mn] keeps every M-th sample and discards the rest, which is real information loss: the animation fades the discarded samples out so you can see them disappear. Upsampling x[n/L] spreads the samples apart and inserts L-1 zeros between them, drawn as open circles, with no loss at all. Reversal x[-n] folds the sequence about n = 0.
A running filmstrip records the sequence at each stage, x[n], x[n+3], x[2n+3], x[-2n+3], and live tiles report how many samples were kept, how many were discarded or how many zeros were inserted. One subtlety the demo highlights: unlike the continuous-time impulse, whose area changes by 1/|a| under scaling, the discrete unit impulse is unchanged by downsampling. Use the presets to compare a shift, a downsample, an upsample, a reversal, and a full mix, and build an accurate mental model of how transforming the independent variable of a discrete-time signal works.