Watch how the same "real"
(green) signal appears differently as measured/sampled
(bold red) signal, depending on changing sampling-
frequency! The same color-coding (green-red-blue)
is on the movie frames.
To STOP/FREEZE any frame, PRESS "STOP"
on your browser, or "REFRESH" to
continue.
The input and output values and plot are clearly presented in the front panel of the developed virtual instrument, see Front Panel output sample. The arbitrary input values are: signal and sampling frequencies or sampling-to-signal frequency RATIO, number of signal's cycles/periods as well as the magnitude ratio and the phase lag. The output values are: (1) sampling frequency if the sampling to signal frequency ratio is given, (2) the Nyquist frequency, see NOTE for definition, (3) the frequency ratio if the sampling frequency is given, (4) aliasing to signal frequency ratio, (5) the aliasing frequency, (6) total number of sampled points, and (7) number of sampled points per signal period or cycle; the latter should be equal to the sampling to signal frequency ratio.
NOTE: Nyquist frequency may be defined in different ways, namely:
The above definitions represent the same phenomenon, i.e. the same critical frequency
for aliasing, critical sampling twice the signal frequency, but are based on two
different references: (1) the sampling frequency (so the Nyquist frequency is maximum
signal frequency to be measured without aliasing, i.e. a half of the sampling frequency),
and (2) based on a signal frequency (so the Nyquist frequency is the minimum sampling
frequency required to avoid aliasing), thus the latter being twice the former.