Selecting certain timetable data based on the date they occur and replacing the corresponding variable at that time with nan
2 ビュー (過去 30 日間)
古いコメントを表示
I have a large timetable containing sea level heights which have been taken across many years. In the data there are areas where the tide gauges have obviously had some kind of error in their measurements. I have already removed the bulk of these outliers using the rmoutliers function and filled them with NaNs but there still remain areas in my data which don't look right. I have been through the data and recorded the dates at which the remaining outliers occured at. I should now like to replace the sea level data that occured at these dates with NaNs. How might I be able to go about this?
Many thanks
0 件のコメント
回答 (1 件)
Rishik Ramena
2021 年 3 月 18 日
You can index the timetables using the timestamp. You can also select a period of time as the index. Have a look at the examples here to help you clean your data.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!