2021-03-19
简单移动平均法
import math
y=[0,533.8,574.6,606.9,649.8,705.1,772.0,816.4,892.7,963.9,1015.1,1102.7]
for i in range(len(y)):
print(" y{} ".format(i),end=" ")
print("\n")
print(y)
N=5 #n=4
z=[0]*(len(y)+1)
for i in range(len(z)):
print(" z{} "
原创
2021-03-19 20:18:06 ·
56 阅读 ·
0 评论