Sampling data is the first step in the signal processing of wave forms coming from radar, submarine detection, earthquakes, seismic oil exploration, etc. Up-sampling and down-sampling are the basic operations in multirate discrete-time systems.
The bottom part of the figure shows up-sampling and down-sampling by an integer factor

of the signal at the top. For the up-sampling process,

equidistant zero-valued samples are inserted by the up-sampler between each consecutive sample of the input sequence

.
Conversely, the down-sampling operation on the input sequence consists of keeping every

sample of

and removing the others.