nanfillts

版本 1.0.0.0 (8.3 KB) 作者: Oleg Komarov
Fill consecutive NaNs with last available value
155.0 次下载
更新时间 2015/8/17

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.

引用格式

Oleg Komarov (2024). nanfillts (https://github.com/okomarov/nanfillts), GitHub. 检索来源 .

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

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库