Transfer function of electrical circuit
The requirement of linearity fails for a diode (i.e., \$f(ax)\ne a f(x)\$ for \$a&lt;0\$), and thus the traditional definition of "transfer function" carries little meaning.  The best you can do is come up with a mathematical expression for the output.