摘要:
```python def firstorder(T,K,t,In): # T 时间常数 # K 增益 Out = np.zeros(len(In)) for i in range(1,len(t)): dt = t[i]-t[i-1] s = T/dt Out[i] = K*In[i]/(s+1) 阅读全文
摘要:
x = np.arange(0,101) wn = np.random.rand(101) y1 = -1+0.02*x+0.1*wn y2 = np.sin(0.5*x) y3 = 0.0001*x**2-0.03*x+1 y4 = 0.8*np.cos(x) fig,ax1 = plt.subp 阅读全文