When I run prepare_raw_data.m file, there is
The index exceeds the number of array elements (1021).
Error edfx_process_time_2chan (line 162)
hypnogram_new = hypnogram(h_start:h_end);
Error, because the array length is 1021, but the new hypnogram selected is from 1011 to 1772 ,which is more than 1021
When I run prepare_raw_data.m file, there is The index exceeds the number of array elements (1021). Error edfx_process_time_2chan (line 162) hypnogram_new = hypnogram(h_start:h_end); Error, because the array length is 1021, but the new hypnogram selected is from 1011 to 1772 ,which is more than 1021