So I am doing some ECG analysis in MATLAB and so far I have detected the key features as shown in the figure below :
This is the ground truth :
So how do i replot the first figure such that the x axis ranges from 0 to 10 (as shown in the second image)
I want to do this so that I can measure the time duration between the Q(the red cross) and the S (the peak at the minimum marked with a circle).
So essentially I want to 1) Calibrate 3600 samples into 10 seconds 2) Using the above scaling factor, be able to automatically calibrate any number of samples into the relevant seconds.
Thanks.