Pole-zero analysis: high pass filter
Poles and zeros of an RC high pass filter.
A capacitor between two 1kΩ resistors to ground. pz finds the poles and zeros of the transfer function (output voltage)/(input current), and print all lists them.
Output
pole(1) = -5.00000e+08,0.000000e+00 zero(1) = 0.000000e+00,0.000000e+00
The circuit: examples/simplepz.cir
test circuit #1 for pz analysis:high pass filter r1 1 0 1k r2 2 0 1k c1 1 2 1.0e-12 .control pz 1 0 2 0 cur pz print all .endc .end
Run it with spice simplepz.cir, or open it with File › Load netlist in the Qt window. The plots and output above were made by util/mkexamples.py, which runs the deck in batch mode. All examples