Skip to content
Plot GNUCAP/NGSPICE sim data with Matlab/GNU Octave
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Python - SPICE interface and plotting

GNUcap / NGspice voltage multiplier sim.

Used for my Ph.D. qualifying exam, and a follow-on to my harmonic radar tag improvements.

NOTE: Consider using PySpice instead of this approach.


apt install gnucap ngspice


Simulate no-driver LED problems due to wire voltage drop, using and StringIO to avoid output file mess.


Other programs

These programs run from GNU Octave or Matlab.

  • runDub.m run and plot basic voltage doubler current input and voltage output vs. time
  • runDubTry.m plot spectrum
  • runDubMult.m multi-stage voltage multiplier: voltage, current, impedance
  • runMos.m using MOS simulation
You can’t perform that action at this time.