hello all,
i'd like to model a circuit that outputs a sawtooth function. there's really two things that i'm looking for: 1) a schematic of the simplest circuit that can produce a sawtooth output, and 2) a way to model it with something like MATLAB or Mathematica. is anyone here familiar with any schematic capture circuit analysis packages, particularly ones that can generate the underlying circuit equations? what i imagine would be ideal is if i could just plunk together a couple of resistors, capacitors, and op-amps in a SPICE like program, then get the equations that describe the circuit, and finally carry those equations over to MATLAB to model how things change as i vary system parameters. i'm at a total loss here. does anyone have any suggestions??
many thanks, dan