Trace the ambiguity.
Load the folded example and compare the two curves only at the dots. Then inspect what each curve does between those dots.

XLVII / Experiments
Change a condition, inspect what happens, and keep the result. Six experiments connect an equation with a visible outcome, a numerical record, and questions you can pursue.
Sampling and aliasing
A sequence of measurements contains values at particular instants, not the entire motion between them. Draw a sinusoid, sample it for one second, and compare it with a lower-band sinusoid that agrees at every sampled instant. Change the sampling rate to see when the two curves separate.
Half the sampling rate.
The lower-band candidate at these sample times.
32 samples per second / 6 Hz.
Largest absolute difference; roundoff only.
| Time (s) | Original signal | Folded candidate |
|---|---|---|
| 0.0000 | 0.00000 | 0.00000 |
| 0.0313 | 0.92388 | 0.92388 |
| 0.0625 | 0.70711 | 0.70711 |
| 0.0938 | -0.38268 | -0.38268 |
| 0.1250 | -1.00000 | -1.00000 |
| 0.1563 | -0.38268 | -0.38268 |
| 0.1875 | 0.70711 | 0.70711 |
| 0.2188 | 0.92388 | 0.92388 |
| 1.0000 | -0.00000 | -0.00000 |
The JSON includes parameters, model assumptions, sources, and full results. The CSV contains all sample times, original values, and folded-candidate values.
Method
For a sampling rate fₛ, adding an integer multiple of fₛ to a sinusoid’s frequency leaves its samples unchanged. Fold the signed frequency into [−fₛ/2, fₛ/2) and evaluate both curves at identical sample times.
x(t) = sin(2πft + φ); f_alias = ((f + fₛ/2) mod fₛ) − fₛ/2.
Load the folded example and compare the two curves only at the dots. Then inspect what each curve does between those dots.
Keep the signal at 18 Hz and increase the sampling rate past 36 samples per second. Identify the setting where the candidate stops folding.
Use the Nyquist-boundary preset. Compare phases of 0°, 45°, and 90° while keeping the signal frequency unchanged.
Dennis Freeman explains sampling, aliasing, reconstruction, and antialiasing filters in the Signals and Systems course.
See how different continuous signals can pass through the same samples.
The cream curve is an 18 hertz sinusoid. Orange dots show measurements taken at the displayed sampling rate.
The orange curve is a signed lower-band candidate that passes through the same sample values. Agreement at the dots cannot establish what happened between them.
The sampling rate rises above 36 samples per second. With the stated bandlimit, sampling strictly above twice the signal frequency removes this ambiguity.
Method. For a sampling rate fₛ, adding an integer multiple of fₛ to a sinusoid’s frequency leaves its samples unchanged. Fold the signed frequency into [−fₛ/2, fₛ/2) and evaluate both curves at identical sample times.
These dossiers explain how this experiment relates to a larger question, including the observation or comparison that the model leaves unresolved.