Arbitrary f(t) source

by ourcircuits

3 parts

When none of the built-in waveforms is the one you need, type the maths. This source is driven by a formula — a 1 kHz tone inside a 2 ms decaying envelope — and the solver treats it exactly like any other stimulus, here feeding a simple RC.