科学计算-----第一天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.
相关文章
相关标签/搜索