필터 지우기
필터 지우기

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 CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by