Simple circuit transfer function and output graph
You can use the simulator to get a time domain plot. This is a non-linear circuit, so you can't make a traditional transfer function (s domain).







simulate this circuit &ndash; Schematic created using CircuitLab

The simulator doesn't have an ideal diode, but you can get close if you modify a few paramters. Make I_S and N much, much smaller, like 6 orders of magnitude smaller (can't be zero or the simulator complain when it tries to divide by zero). Make R_S zero. For this problem, the other parameters can be left at the default for a 1N4148.