Time for action – plotting the Kaiser window
Let's plot the Kaiser window:
- Call the NumPy
kaiser()
function:window = np.kaiser(42, 14)
- Plot the window with matplotlib:
plt.plot(window) plt.show()
The Kaiser window appears as follows:
What just happened?
We plotted the Kaiser window with the NumPy kaiser()
function.