October 2017
Beginner to intermediate
270 pages
7h
English
Let's take a look at the following code snippet to see how the transfer function works:
def graphTransferFunction(function):
x = np.arange(-2.0, 2.0, 0.01)
plt.figure(figsize=(18,8))
ax=plt.subplot(121)
ax.set_title(function.__name__)
plt.plot(x, function.getTransferFunction(x))
ax=plt.subplot(122)
ax.set_title('Derivative of ' + function.__name__)
plt.plot(x, function.getTransferFunctionDerivative(x))
Read now
Unlock full access