PARabolic FILling midpoints: PARFIL

Inserts mid points ito each interval of x,y data: all(diff(x)>0)=true
2,5K descargas
Actualizado 6 mar 2006

Sin licencia

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)

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R14
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Interpolation en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0