PARabolic FILling midpoints: PARFIL

Inserts mid points ito each interval of x,y data: all(diff(x)>0)=true
2.5K 次下载
更新时间 2006/3/6

无许可证

FILls midpoints into vectors/matrices by PARabolic interpolation as would do Y=interp1(x,y,X,'parabolic')with X=sort([x;( x(1:end-1)+x(2:end) )/2];
For matrices PARFIL works on columns. If only rows match length(x),
then y will be transposed.
For regular data (equidistantly sampled, i.e. std(diff(x))=0),
Y is identical with INTERPOL(y,1,DEG) in inner intervals,(completely identical for DEG=3), but INTERPOL is somewhat
faster than PARFIL

DEMO is included in help and given by
parfil()

For very smooth data results are close to that of SPLINE

For somewhat noisy data can become method of choice (better than linear, pchip or spline interpolations)

引用格式

Vassili Pastushenko (2024). PARabolic FILling midpoints: PARFIL (https://www.mathworks.com/matlabcentral/fileexchange/10229-parabolic-filling-midpoints-parfil), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0