科學計算-----第一天2

import scipy.signal as signal import numpy as np import matplotlib.pyplot as plt t=np.arange(0,20,0.1) x=np.sin(t) plt.figure(1) plt.plot(t,x) #給x隨機加上噪聲 x[np.random.randint(0,len(t),20)] += np.random.
相關文章
相關標籤/搜索