Python, Data Science, Engineering, Science, Electronics.
npSin1 = np.sin(2*np.pi*signFreq1*npTime) npSin2 = np.sin(2*np.pi*signFreq2*npTime) cleanSignal = npSin1 + npSin2 ## Sine frequency 1 plt.plot(npTime,npSin1,linewidth=1,label=str(signFreq1)+"Hz") plt.margins(x=0, y=1) plt.legend() plt.show() ## Sine frequency 2