Comparing two different catalogs documenting the same events
Show older comments
I have two catalogs that give the time and locations of events. One catalog has many more events than the other, and I need to identify the matching events and create a third catalog with these events as the output. I cannot figure out how to compare the times/dates. I need the events to match within say 5 minutes and my catalog range is 25 years. How do I get Matlab to find my time/date columns and compare them? Then how do I convert the time/date information into one string that I can use to compute the difference. (I think I want time in hours?) Thanks!
1 Comment
Sean de Wolski
on 13 Oct 2011
Could you provide a sample input and output please?
Answers (1)
bym
on 13 Oct 2011
doc datenum()
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!