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

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Rishik Ramena
Rishik Ramena il 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.

Categorie

Scopri di più su Tables in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by