cut samples - interpolation
Nessuna licenza
A useful function for putting irregular spaced data on a regular spaced axis. Also works when the data locally has higher sampling resolution than the desired.
Example:
%create fake irregular spaced data
x=sort(rand(30,1));
y=sin(x*5)+randn(30,1)*.3;
%define the start and end intervals we want to have representative values of.
xsi=(-.2:.3:1.3)';
xei=xsi+.3;
%cut data into intervals ranging from xsi to xei:
yi=cutsamples(x,y,xei,xsi);
Cita come
Aslak Grinsted (2024). cut samples - interpolation (https://www.mathworks.com/matlabcentral/fileexchange/3447-cut-samples-interpolation), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Mathematics > Interpolation >
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Multirate Signal Processing >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 | Updated to that it can handle series with nans |