Looping in matlab for months
Show older comments
I have rainfall data for different seasons. I have converted the month names to numbers from 1 to 12. Now in two columns there are starting & ending months of crop sowing. When starting month & ending months are serial & ending month is less than or equal to 12, there is no problem. But how to do the looping for October-January as an instance? I can do from i = 10 to 12 but how to get i =1 again?
Thanks.
Accepted Answer
More Answers (0)
Categories
Find more on Programming 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!