【发布时间】:2016-09-21 17:04:51
【问题描述】:
【问题讨论】:
标签: maple curvesmoothing
【问题讨论】:
标签: maple curvesmoothing
我建议查看Statistics 包中的data smoothing 命令。可以将exponential smoothing model 之类的东西应用于您的数据,以平滑趋势线。
如果您有最近的 Maple 副本,您可以使用以下内容进行试验:
with(Statistics):
Z := Sample(Normal(0, 1), 50): #Generate some data
Y := CumulativeSum(Z):
ESmodel := Constant -> ExponentialSmoothing(Y, 0.1*Constant):
Explore 命令创建一个界面,您可以在其中尝试不同的平滑常数值:
Explore( plots[display]( LineChart(Y, color=blue),
LineChart(ESmodel(Constant), thickness=3, color=red),
gridlines=true),
parameters=[Constant=1..10] );
【讨论】: