The simplest way (but can be cumbersome) is to plot the data and manually mark the starting and ending point of each section of data.
For automatic segmentation, it is depending on your data and there is no universal approach.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!