(Sound graph) (Starting-ending wheezes)
I have sound file of 5 patients and I have drawn them as txt in the GUI, but I could not mark the data in the wheeze file in txt. On the left is the sound graph of a person with asthma. On the right is the data of the asthma patient's start and end wheezes as a txt file. The left row in the txt file represents the starting wheezes and the right row represent ending wheezes. My aim here is to mark the wheezes with red and green vertical lines on the sound file on the left. The red vertical line should represent the beginning and the green vertical line should represent end wheezes. For example, 2239 should be marked as red and 3239 green vertical lines on the sound file.
case 'Option 1'
mydata = load("yk130505sk403.txt");
samples = size(mydata,1);