How to loop dates?
Show older comments
Hi I have a few sets of data with corresponding dates and there could be several data associated with the same date. I would like to extract my data 50 days prior to a set date (eg: 01 May 1998), and also extract the corresponding data. Copying and Pasting the same code 50 times seems very tedious. Is there a way to loop through the dates and extract the daily data? Please help!
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!