nanfillts
NANFILLTS Fill NaNs in the time series with the previous valid observation
NANFILLTS(TSPANEL) TSPANEL should be a numeric matrix (or a vector)
where each series is a column with the oldest
observations in the first row (element) and the
most recent ones in the last row (element).
NANFILLTS(..., NOTRAIL) To avoid extrapolation of the last value of a
time series till the end of the panel, set
NOTRAIL to true (1). By default is false (0).
TSPANEL = NANFILLTS(...) Returns the same matrix with filled NaNs.
NOTE: leading NaNs are left untouched.
Citation pour cette source
Oleg Komarov (2025). nanfillts (https://github.com/okomarov/nanfillts), GitHub. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Language Fundamentals > Data Types > Numeric Types > NaNs >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |
|