Clamper Circuit Without A Resistor Analysis
I suppose it could be simulated but where’s the fun in that?
I think this isn’t so much a clamper as a level shifter.
Since there’s no explicit ground in this circuit let’s arbitrarily call the bottom node ground, or at least our zero voltage reference point.
At t(0) the input is zero, and Vout is -2.7V (diode plus battery). C1 is now holding a 2.7V charge.
***CORRECTION (after Batt's comment): no, Vout will be zero because no current can flow through diode/battery.
When Vi first jumps to +10V, the left side of C1 jumps up 10V.
Since the voltage across a capacitor can’t change instantaneously, the right side jumps up 10V too.
When Vi then jumps to -10V, the left side of C1 jumps down by 20V.
The right side does too but is quickly clamped by the diode/battery to limit Vout to -2.7V.
When Vi goes back up to +10V, again the left side of C1 sees a 20V jump.
This causes the right side of C1 to jump up 20V too, to 17.3V.
The circuit is now stable, with the output jumping between -2.7V and +17.3V.
Did I get it right?