Selecting certain timetable data based on the date they occur and replacing the corresponding variable at that time with nan

6 views (last 30 days)
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

Answers (1)

Rishik Ramena
Rishik Ramena on 18 Mar 2021
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.

Categories

Find more on Tables in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!