How do I make an array from select points in a large table (based on dates)?
Show older comments
I have a 10668x2 table, where the first column is date and time (for each day over 2 months at time incrememnts of 5 minutes) and the second column is numerical data points. I am very new to MATLAB and I need to make an array with just data from 12:00 to 1:00 for each day.
Thanks!
OrgPollution = table(Time,Org)
2 Comments
Image Analyst
on 6 Jun 2022
That's not large at all. Make it each for people to help you and attach your data and code to read it in with the paperclip icon after you read this:
Also, there is a huge variety of functions that deal with date and time. I'm sure you can find the proper one to pull out the days you want, and the hours you want. Just check the help.
Alex Bertone
on 6 Jun 2022
Accepted Answer
More Answers (0)
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!