Interactive Sampling Plot
Explore how the number of samples affects the representation of a sine signal.
Original signal
Sample points
Linearly connected samples
The upper graph is the continuous reference signal y = sin(x).
The lower graph uses only the selected sample points and connects them with straight
line segments, matching the behavior of the MATLAB version.