PARabolic FILling midpoints: PARFIL
Keine Lizenz
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)
Zitieren als
Vassili Pastushenko (2024). PARabolic FILling midpoints: PARFIL (https://www.mathworks.com/matlabcentral/fileexchange/10229-parabolic-filling-midpoints-parfil), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Interpolation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |