title: iterating over multiple intervals Matlab
body: <p>I'd like to make a loop in Matlab that would work only over user specified intervals of time, instead of simply the whole time. How can one write this loop condition?</p>
  
  <p>regards</p>