Simulation Code: The code uses a .mat input containing time and alveolar volume data. The time array should be labeled as t_vec, and the alveolar volume array should be labeled as Alv_Vol (both column arrays) This .mat file should be created before the code is run.
Patient Code: The code uses a .mat input containing time, lung volume, and heart rate data. The time array should be labeled as t_vec, the lung volume array should be labeled as L_Vol, and the heart rate array should be labeled as HR_vec (all column arrays). This .mat file should be created before the code is run.
Cite this work using:
Qayyum NT, Wallace CH, Khayat RN, Grosberg A. A mathematical model to serve as a clinical tool for assessing obstructive sleep apnea severity. Front Physiol. 2023 Aug 3;14:1198132. doi: 10.3389/fphys.2023.1198132. PMID: 37601632; PMCID: PMC10434550.