フィルターのクリア

Missing data values in a matrix

1 回表示 (過去 30 日間)
Breylla Carvalho
Breylla Carvalho 2017 年 11 月 10 日
回答済み: Sean de Wolski 2017 年 11 月 10 日
Hi everyone!
I have a problem: I have a timeserie that is supposed to have hourly values of sea level, but there are some gaps in those. As I'm supposed to make some analysis, I need to build a matrix with the values I have and also the NaNs respected to the gaps. How can I make this?
Regards!
  2 件のコメント
Birdman
Birdman 2017 年 11 月 10 日
How did you obtain the data? From simulink or somewhere else?
Breylla Carvalho
Breylla Carvalho 2017 年 11 月 10 日
Somewhere else (GLOSS program). I have the date (year, month, date, hour), that I converted by datenum, and the values of sea level.

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

回答 (1 件)

Sean de Wolski
Sean de Wolski 2017 年 11 月 10 日
Create a timetable and look at the retime, fillmissing functions.
doc timetable
doc retime
doc fillmissing

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by