enter image description here

How do you make this figure in LTSpice?

  • 1
    \$\begingroup\$ What operates the switch? \$\endgroup\$
    – Andy aka
    Commented Jun 19, 2021 at 7:57

1 Answer 1


Either you use a capacitor (C) and a switch (F2 -> sw) driven by some voltage source, or use [SpecialFunctions]/sample. See the schematic SampleandHold.asc in the My Documents/LTspiceXVII/exmaples/Educational/ folder (and don't forget about the help: LTspice > Circuit Elements > A. ...).


Not the answer you're looking for? Browse other questions tagged or ask your own question.