Book Image

NumPy: Beginner's Guide

By : Ivan Idris
Book Image

NumPy: Beginner's Guide

By: Ivan Idris

Overview of this book

Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
NumPy Functions' References
Index

Time for action – plotting the Kaiser window


Let's plot the Kaiser window:

  1. Call the NumPy kaiser() function:

    window = np.kaiser(42, 14)
  2. 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.