主题: [MATLAB数学相关] 怎样用命令进行smoothing spline fit?
查看单个帖子
旧 2010-06-10, 10:30   #2
slgu
高级会员
 
注册日期: 2007-06-24
年龄: 70
帖子: 188
声望力: 21
slgu 正向着好的方向发展
默认 回复: 怎样用命令进行smoothing spline fit?

x=1:10;
y=rand(1,10);
plot(x,y,'o')
xx=1:.1:10;
yy=spline(x,y,xx);
hold on
plot(xx,yy)
slgu 当前离线   回复时引用此帖