nanfillts

バージョン 1.0.0.0 (8.25 KB) 作成者: Oleg Komarov
Fill consecutive NaNs with last available value
ダウンロード: 155
更新 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 Center および MATLAB AnswersNaNs についてさらに検索
タグ タグを追加

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 リポジトリにアクセスしてください。