Direct spline interpolation of noisy data may result in a curve with unwanted
oscillations. This is particularly bad if the slope of the curve is important.
A better approach is to reduce the degrees of freedom for the spline and use
the method of least squares to fit the spline to the noisy data. The deegres
of freedom are connected to the number of breaks (knots), so the smoothing
effect is controlled by the selection of knots.
CONTENTS:
SPLINEFIT
Fits a cubic spline to noisy data. This routine is faster than PPFIT for large
problems. Operates on ND arrays in the same way as SPLINE.
PPFIT
Fits a piecewise polynomial of arbitrary order and regularity to noisy data.
Sharp data (boundary conditions or conditions at inner points) can also be
forced onto the spline. Operates only on vectors, not ND arrays.
PPDIFF
Differentiate piecewise polynomial.
PPINT
Integrate piecewise polynomial.
In my version of SPLINEFIT the unknowns are function value and slope
(y,y') for each break/knot. To get a cubic spline with continuous second
derivative I add linear constraints for the continuity of y" at each inner
break. So the problem solved is actually a least squares problem with
equality constraints.
See also IMMOPTIBOX at http://www2.imm.dtu.dk/~hbn/immoptibox by Hans Bruun
Nielsen. This is a toolbox for optimization and data fitting and among other
useful tools there is a SPLINEFIT tool based on B-splines.
没有合适的资源?快使用搜索试试~ 我知道了~
PWL.rar_Joseph_piecewise linear_pwl
共10个文件
m:8个
asv:1个
txt:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 155 浏览量
2022-09-21
06:46:26
上传
评论
收藏 13KB RAR 举报
温馨提示
1D signal:Identification of PieceWise Linear by multiple regression MORLIER Joseph
资源推荐
资源详情
资源评论
收起资源包目录
PWL.rar (10个子文件)
PWL
PWL.m 4KB
ppfit.m 10KB
ppint.m 2KB
splinefit.m 5KB
plumbplot3.m 1KB
plotc.m 2KB
entropie.m 815B
PWL.asv 4KB
ppdiff.m 1KB
readme.txt 1KB
共 10 条
- 1
资源评论
我虽横行却不霸道
- 粉丝: 95
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功