Hi, I am using MATLAB R2020a on a MacOS. I am analysing ECG signals in real-time on a cycle-by-cycle basis by plotting the co-ordinates associated with each cycle in the phase space. I am trying to identify abnormal trajectories in the trace for each individual. I was wondering if there was any way of training a neural network machine learning algorithm by feeding it some cycles from that individual to form a 'template' of a normal trajectory and then using this template for comparison with the remaining cycles to find and flag abnormal cycles? Is there also a way of feeding the normal cycles into the template to update it as new normal cycles are found, whilst excluding abnormal cycles?
Any suggestions would be greatly appreciated. Thanks in advance