Sinc2

Plot the sinc function
import numpy as np import matplotlib.pyplot as plt in_array=np.linspace(-np.pi,np.pi,100) out_array=np.sinc(in_array) plt.plot(in_array,out_array,color="blue", marker="o") plt.title("Sinc function") plt.xlabel("X") plt.ylabel("Y") plt.show
 * 1) !/usr/bin/python3