Jun-01-2018, 04:56 PM
You can use numpy:
import numpy as np x = np.linspace(0, 2 * np.pi, 1024) sinewave = np.sin(x)I guess you want to plot them also:
import matplotlib.pyplot as plt plt.plot(sinewave) plt.show()
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!