フィルターのクリア

vector missing values filling

2 ビュー (過去 30 日間)
pavlos
pavlos 2016 年 8 月 15 日
コメント済み: pavlos 2016 年 8 月 15 日
Hello,
Please help me with the following:
Consider a vector Α where its columns refer to hourly values of a variable.
Vector A is incomplete, i.e. does not include all the 24 values of the day.
For example it contains the values referring to hours 07:00-14:00 and 18:00-20:00, therefore its dimension is 1x11.
Consider a vector B where it is complete (24 values per day).
How should I fill the missing values of A (i.e. 01:00-06:00, 15:00-17:00 and 21:00-24:00) with the corresponding values of B?
The above missing values are random.
Thank you.
Pavlos

回答 (1 件)

G Newton
G Newton 2016 年 8 月 15 日
one my recommendation is to set this mixing values as NaN
BDW can you tell me what is vector a and b represent of timeseries measure? temperature etc?
  1 件のコメント
pavlos
pavlos 2016 年 8 月 15 日
Yes, it is a time series vector containing wind speed

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTime Series についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by