ends with the same low pressure, and the chosen cycles' waveforms are representative of the general waveforms of the breaths. The second step consists in sequencing the two sample cycles to create the synthetic set. The sequence is chosen to be as in (3.2), as shown in Figure 3-4. [BABBBBABBBABBABAABBBBAAABBABB] (3.2) -1 500 1000 1500 2000 2500 3000 50 40 30 20 10 500 1000 1500 2000 2500 3000 Figure 3-4 Synthetic test set: (a) Flow; (b) Pressure The beginning part of the sequence is faithful to the type of data considered, with one mandatory breath followed by several spontaneous breaths, whereas the end of the sequence is more unrealistic with two or three mandatory breaths in a row followed by a few spontaneous ones. This was done to create some diversity, test the system to the maximum switching speed, and beyond the particularities of this data to give more insight into the performance of the systems for segmentation of other dynamical behaviors or other switching patterns.