An uncomplicated exercise designed for college students involves utilizing a popular LTspice simulator to replicate intricate signals encompassing harmonics. This exercise vividly illustrates the primary effects linked to harmonic interpolation within periodically extended functions.
See the report in the "LTspice for complex signals.pdf" file.
Link: https://www.analog.com/en/design-center/design-tools-and-calculators/ltspice-simulator.html